Build AI Marketing Tool and Image Generation App with PHP and OpenAI GPT-3 for Beginners

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 86

  • @wiserit
    @wiserit Рік тому +4

    After spending 2 failed days trying to get this to work using OpenAI documentation and many other online tutorials, I found your video - and it is the first tutorial that I found that actually works! Fantastic, and incredibly informative, thank you!

  • @ZelfMade
    @ZelfMade 11 місяців тому +1

    Nice. A lot simpler than I thought it would be. Thank you!

    • @Devtamin
      @Devtamin  11 місяців тому

      You're welcome

  • @NealeGoldingay
    @NealeGoldingay Рік тому +1

    Thanks that is the best vid I have seen for adding openai to a PHP site Thank You

    • @Devtamin
      @Devtamin  Рік тому

      You're welcome. Please, subscribe

  • @maryannewambui-wi9zh
    @maryannewambui-wi9zh 3 місяці тому

    Very helpful, I will give it a try, I hope nothing much has changed since 1 years ago

  • @jeffersonauman1829
    @jeffersonauman1829 Рік тому

    Hi! Thanks for the video. I have some questions after i run the " composer require orhanerday/open-ai " on the terminal. I'm getting this error
    Failed to download orhanerday/open-ai from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
    Now trying to download from source
    In GitDownloader.php line 82:
    git was not found in your PATH, skipping source download
    Do i need to install Git?

  • @Jason-mu6ug
    @Jason-mu6ug 9 місяців тому

    Awesome video man, just learning about REST APIs and your videos are quick and easy to follow.

    • @Devtamin
      @Devtamin  9 місяців тому

      You're welcome

  • @darulqadiriyya7639
    @darulqadiriyya7639 Рік тому +1

    Am verry verry salute you sir withis tutorial

    • @Devtamin
      @Devtamin  Рік тому

      I appreciate your comment

  • @martin-xq7te
    @martin-xq7te Рік тому

    Great video Thank you for your hard work

  • @gulfamarshad4219
    @gulfamarshad4219 Рік тому +1

    Thanks a lot Man! You are a life saver.

    • @Devtamin
      @Devtamin  Рік тому

      Glad it helped! Please, subscribe

  • @pritam7461
    @pritam7461 Рік тому +1

    Hey I am getting this error when trying to generate the image - Trying to access array offset on value of type null in C:\xampp\htdocs\PHP-AI\image-ai.php on line 42. And while trying to generate caption this error- Warning: Undefined array key "choices" in C:\xampp\htdocs\PHP-AI\ai.php on line 26
    Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\PHP-AI\ai.php on line 26
    Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\PHP-AI\ai.php on line 26
    What to do?

    • @Devtamin
      @Devtamin  Рік тому

      Maybe the key is not correct

    • @TimothyHuey
      @TimothyHuey Рік тому

      I got that error when I tried using a different CHATGPT model than the Divinici-003 model. I guess the format for the answer is different based on the model used.

  • @hddatascience
    @hddatascience Рік тому +1

    Does it only work locally? what if I want to host it via vps, I was thinking there could be some error because you downloaded composer locally.

    • @Devtamin
      @Devtamin  Рік тому

      Install composer on your host

  • @Php_Bot_kodlari_24
    @Php_Bot_kodlari_24 7 місяців тому

    Where can I get the hello code?

  • @pphelanhi
    @pphelanhi Рік тому +1

    The response on the .ai page seems to come back empty after filling out the form. I'm only getting: Out Put of 3 Facebook Marketing Captions for shoe...any guess that I might be missing and why nothing returned from ChatGPT?

    • @Devtamin
      @Devtamin  Рік тому

      Do you have OpenAI credit ?

  • @esthergiles2896
    @esthergiles2896 2 роки тому +1

    This is great! Thank you :D

    • @Devtamin
      @Devtamin  Рік тому

      Our pleasure! I appreciate your comment. Please, subscribe

  • @devmayara204
    @devmayara204 Рік тому +1

    saved my day, thanks man 🚀🚀

  • @fernandodiaz8231
    @fernandodiaz8231 Рік тому +1

    Your video was very instructive and didactic. Every step by step was explained in a thorough way. On the other hand, from your contribution some useful utilities can be built.
    I want to take advantage of asking you if the solution you have developed can work as it is proposed in a classic hosting service like Hostinger. I estimate that if the hosting has the Composer service pre-installed, it would work without problems.

    • @Devtamin
      @Devtamin  Рік тому

      Glad it was helpful! I think Hostinger also support composer. support.hostinger.com/en/articles/5792078-how-to-use-composer

    • @fernandodiaz8231
      @fernandodiaz8231 Рік тому +1

      @@Devtamin Thank you for your answer. I've read the article and then I've written to Hostinger. I hope to have the answer soon to try your AI-driven marketing tool in common hosting service.
      Do you have a plan to publish other video about AI?

    • @Devtamin
      @Devtamin  Рік тому

      I'm sure for now. I'll take a look

  • @selwynaureno1185
    @selwynaureno1185 11 місяців тому +1

    thanks man, i wonder if i can builad a php project that generate quizes from a modules given

    • @Devtamin
      @Devtamin  11 місяців тому +1

      Yes, it's an AI that generates contents. The only thing you need is the right prompt

  • @wellingtonziotto
    @wellingtonziotto Рік тому +1

    Hi! I grasp the importance of testing the application locally. However, once the local testing phase is complete, I'm unsure of the steps to deploy it on an internet host. I've been unable to locate any instructional videos outlining this process.
    Thanks!🤔

  • @Basirafeef
    @Basirafeef 9 місяців тому +1

    thanks for sharing great knowledge sir, can we have a video about new OpenAI assistant api implementation using php

    • @Devtamin
      @Devtamin  9 місяців тому +1

      I will put this idea in my list

    • @Basirafeef
      @Basirafeef 9 місяців тому

      @@Devtamin thanks that will be great

  • @corporalkent9822
    @corporalkent9822 11 місяців тому +1

    Hello I liked your video tutorial! But how can I generate a text response in my own numbers.. for example: you put 3 for the marketing I only want one or as many as I liked to have as a result. please teach m where to change it . Thank you ! I'll subscribe! you're so helpful.

    • @Devtamin
      @Devtamin  11 місяців тому

      You're welcome

  • @TobiasHam
    @TobiasHam 10 місяців тому

    great video! do you know how to integrate assistant AI into php? i only find tutorials doing this with python :(

  • @ahmedel-lamei2883
    @ahmedel-lamei2883 Рік тому +1

    Thank you

  • @ucisanusi28
    @ucisanusi28 Рік тому +1

    i get an error message like this "You exceeded your current quota, please check your plan and billing details". how to handle it

    • @Devtamin
      @Devtamin  Рік тому

      You need to OpenAI for using the API

  • @TrinhTienTao
    @TrinhTienTao Рік тому +1

    Hữu ích!

    • @Devtamin
      @Devtamin  Рік тому

      Even though I don't understand your comment, I hope it means a good thing

    • @TrinhTienTao
      @TrinhTienTao Рік тому

      @@Devtamin It's mean useful. And surely a good thing! Your English pronunciations, are very good, but I see some words like the way many people in the south of my country, eg. this that these those with th become d. Hope you make more useful clips with more wonderful things

  • @husseinhusseiney9487
    @husseinhusseiney9487 Рік тому

    Why does it tell me
    string(206) "{ "error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota", "param": null, "code": null } } "

    • @Devtamin
      @Devtamin  Рік тому

      You use all free quota. You need to pay for OpenAI services

  • @vijaykumartirupathi
    @vijaykumartirupathi Рік тому +1

    can we upload in wordpress?

    • @Devtamin
      @Devtamin  Рік тому

      Yes, you cant code OpenAI to connect with WordPress

  • @gamehacker2011
    @gamehacker2011 Рік тому

    nice video

  • @47aitools
    @47aitools Рік тому

    hi, you can for create php code for elementor wordpress

    • @Devtamin
      @Devtamin  Рік тому

      Thank you for a recommendation

  • @johnpaulcflores4128
    @johnpaulcflores4128 Рік тому +1

    Can you Upload about command prompt shortcuts tutorial etc, Thank you

    • @Devtamin
      @Devtamin  Рік тому +1

      Yes, sure. What kind of shortcuts do you want to know?

    • @johnpaulcflores4128
      @johnpaulcflores4128 Рік тому

      Cmd shortcuts for making a folder with a file inside for vscode and some C++ tutorials This Channel is super Underated, Thanks a lot.

  • @EmmaWatsonfi
    @EmmaWatsonfi 11 місяців тому

    great

  • @timmytainment
    @timmytainment Рік тому +1

    I love it and your Name. DevsOnSteorid

    • @Devtamin
      @Devtamin  Рік тому +1

      I really like the name, DevsOnSteorid

  • @adityadahiya8100
    @adityadahiya8100 Рік тому +1

    Can we make wordpress plguin

    • @Devtamin
      @Devtamin  Рік тому

      Sure!! I will take your request to my list

  • @RosaSoftwaredocuments
    @RosaSoftwaredocuments Рік тому +1

    can you please learn php for beginners to pro

    • @Devtamin
      @Devtamin  Рік тому

      I will put it on my to-do list. Pls, hit the subscribe button. Thank you for the comment

  • @codermomo1792
    @codermomo1792 9 місяців тому

    pls do it for gpt 4

    • @Devtamin
      @Devtamin  9 місяців тому +1

      soon

    • @codermomo1792
      @codermomo1792 9 місяців тому

      @Devtamin
      Thanks man, those open AI guys took my 5 $ and gave me an api that tells stories

    • @codermomo1792
      @codermomo1792 8 місяців тому

      @@Devtamin
      😢

  • @Cashbring
    @Cashbring Місяць тому

    ❤❤

    • @Devtamin
      @Devtamin  Місяць тому

      Thank you for a comment

  • @v4alien
    @v4alien Рік тому +1

    very thank you.. very thank you. vary thank you.

    • @Devtamin
      @Devtamin  Рік тому

      I appreciate your comment. Please, subscribe

  • @maikwurl1484
    @maikwurl1484 Рік тому +1

    Thank you