![Variations of](https://cdn.arstechnica.net/wp-content/uploads/2022/11/dalle_openai_corgis_1-800x450.jpg)
On Thursday, OpenAI announced the introduction of an API for its DALL-E image synthesis model that will allow developers to easily integrate its AI image generation technology into their apps. DALL-E, currently available as a standalone commercial service, allows people to generate novel 1024×1024 images from text descriptions called “prompts.” The generated images can vary in style from photorealistic to abstract—and many styles in between.
OpenAI’s new API allows software developers to feed an image prompt and other parameters into OpenAI’s DALL-E engine over the Internet. OpenAI then generates the image on its servers and returns the image for display in the requesting app. (An API is a programming interface that allows different programs to talk to each other.)
Usage of the API requires registration with OpenAI and a private API key that allows access to the DALL-E generator. Additionally, OpenAI levies a fee for each image generated depending on image resolution. Images that are 1024×1024 cost $0.02 an image, 512×512 images cost $0.018 per image, and 256×256 images cost $0.016 per image.
![A DALL-E example of "an astronaut riding a horse."](https://cdn.arstechnica.net/wp-content/uploads/2022/09/1-640x640.jpg)
Currently, Microsoft is already using the DALL-E API in closed-access trials of its new Microsoft Designer app, and Shutterstock recently announced DALL-E integration into its website. Additionally, OpenAI says that design apps called CALA and Mixtiles are using the DALL-E API as well.
Since its launch in April, DALL-E and other image synthesis models, such as Stable Diffusion, have been the subject of ethical controversy because of baked-in bias, the ability to potentially generate harmful images, and the fact that these AI generative models have been trained using human-created artwork without individual artist consent. However, OpenAI implements filters that restrict the generation of nudity, “hate symbols,” and violence in an attempt to keep the service palatable for a mass audience.
It’s worth noting that Stable Diffusion has been available as an open source since August, and developers have already been integrating that technology into their apps without the individual image generation cost, filters, or content policy restrictions that come with OpenAI’s DALL-E API if run locally. However, Stability AI also offers its own DreamStudio API for a fee that comes with its own content moderation tools.
As competition between AI image synthesis models continues to heat up, developers now have more choice over which model they can integrate into their products.