Search code examples
reactjsimagetext

Text to Image API


Can someone please suggest me some Free API's for Text to Image AI Tool only for developing purpose.!

I got this API https://rapidapi.com/seikan/api/img4me-text-to-image-service/

When I research some API I got this API and can someone tell me is this good for my application? I am creating it in react!


Solution

  • I know two different ways for this.

    1) DALL·E OpenAI

    openAI release an API for this named "DALL·E OpenAI". It can help you to create image based on given text as well as description.

    Here, are some of the articles which you can explore for implementation purpose.

    Official Documentation: https://openai.com/blog/dall-e-api-now-available-in-public-beta

    Some implemetation techniques in ReactJS:

    1. https://betterprogramming.pub/build-a-react-app-using-dall-e-api-bd15d5d67b31

    2. https://www.makeuseof.com/react-dall-e-image-generator-application-build-api/

    3. https://www.freecodecamp.org/news/generate-images-using-react-and-dall-e-api-react-and-openai-api-tutorial/

    To know more in detail: https://openai.com/research/dall-e

    2) Unsplash API

    It is one of the most used and popular photo search engines.

    Here, is the implementation technique using ReactJS:

    1. https://www.digitalocean.com/community/tutorials/how-to-build-a-photo-search-app-with-react-using-the-unsplash-api

    Let me know if you have any doubt.