Education logo

DALL·E API Now Available in Public Beta

Starting today, developers can begin building apps with the DALL·E API.

By Riyaz AhamedPublished about a year ago 3 min read
Like
Microsoft Bing

Developers can now integrate DALL·E directly into their apps and products through our API. More than 3 million people are already using DALL·E to extend their creativity and speed up their workflows, generating over 4 million images a day. Developers can start building with this same technology in a matter of minutes.

#generations

curl https://api.openai.com/v1/images/generations \

-H "Content-Type: application/json" \

-H "Authorization: Bearer $OPENAI_API_KEY" \

-d '{

"prompt": "a photo of a happy corgi puppy sitting and facing forward, studio light, longshot",

"n":1,

"siz :"1024x1024"

}'

#edits

curl https://api.openai.com/v1/images/edits \

-H "Authorization: Bearer $OPENAI_API_KEY" \

-F image="@/Users/openai/happy_corgi.png" \

-F mask="@/Users/openai/mask.png" \

-F prompt= "a photo of a happy corgi puppy with fancy sunglasses on sitting and facing forward, studio light, longshot" \

-F n=1 \

-F size="1024x1024"

#variations

curl https://api.openai.com/v1/images/variations \

-H "Authorization: Bearer $OPENAI_API_KEY" \

-F image="@/Users/openai/corgi_with_sunglasses.png" \

-F n=4 \

-F size="1024x1024"

State-of-the-art image generation

DALL·E’s flexibility allows users to create and edit original images ranging from the artistic to the photorealistic. DALL·E excels at following natural language descriptions so users can plainly describe what they want to see. As our research evolves, we will continue to bring the state of the art into the API, including advances in image quality, latency, scalability, and usability.

Built-in moderation

Incorporating the trust & safety lessons we’ve learned while deploying DALL·E to 3 million artists and users worldwide, developers can ship with confidence knowing that built-in mitigations—like filters for hate symbols and gore—will handle the challenging aspects of moderation. As a part of OpenAI’s commitment to responsible deployment, we will continue to make trust & safety a top priority so that developers can focus on building.

DALL·E applications

We’ve worked closely with a few early customers who have already built DALL·E into their apps and products across a variety of use cases.

Microsoft is bringing DALL·E to a new graphic design app called Designer, which helps users create professional quality social media posts, invitations, digital postcards, graphics, and more.

Microsoft is also integrating DALL·E in Bing and Microsoft Edge with Image Creator, allowing users to create images if web results don’t return what they’re looking for.

CALA is the world’s first fashion and lifestyle operating system. CALA unifies the entire design process—from the product the way through e-commerce enablement and order fulfillment—into a single digital platform. Powered by DALL·E, CALA’s new artificial intelligence tools will allow users to generate new design ideas from natural text descriptions or uploaded reference images.

Mixtiles is a fast-growing photo startup. They use software and an easy-hanging experience to help millions of people create beautiful photo walls. Mixtiles uses the DALL·E API to create and frame emotionally resonating artwork, by guiding users through a creative process that captures childhood memories, dream destinations, and more.

We’re excited to see what our customers will do with DALL·E and what creative ideas they’ll come up with.

Build with OpenAI’s powerful models

DALL·E joins GPT-3, Embeddings, and Codex in our API platform, adding a new building block that developers can use to create novel experiences and applications. All API customers can use the DALL·E API today.

Image generation Beta

Learn how to generate or manipulate images with our DALL·E models

Introduction

The Images API provides three methods for interacting with images:

  1. Creating images from scratch based on a text prompt
  2. Creating edits of an existing image based on a new text prompt
  3. Creating variations of an existing image

This guide covers the basics of using these three API endpoints with useful code samples. To see them in action, check out our DALL·E preview app.

The Images API is in beta. During this time the API and models will evolve based on your feedback. To ensure all users can prototype comfortably, the default rate limit is 50 images per minute. If you would like to increase your rate limit, please review this help center article. We will increase the default rate limit as we learn more about usage and capacity requirements.

Authors OpenAI

Filed Under Announcements, API

READ FULL DOCUMENTATION

interviewteacherstudenthow tocollege
Like

About the Creator

Reader insights

Be the first to share your insights about this piece.

How does it work?

Add your insights

Comments

There are no comments for this story

Be the first to respond and start the conversation.

Sign in to comment

    Find us on social media

    Miscellaneous links

    • Explore
    • Contact
    • Privacy Policy
    • Terms of Use
    • Support

    © 2024 Creatd, Inc. All Rights Reserved.