Skip to main content
All models

OpenAI / Model reference

DALL-E 2

OpenAI model available through the Celeste SDK. Explore its supported operations and parameters.

See the code
Model IDdall-e-2

What it can do.

celeste.images.generateGenerate images
celeste.images.editTransform an image

Parameters.

Supported controls from Celeste’s model registry. Values and availability differ between models.

DALL-E 2 parameters and constraints
ParameterAccepted values
aspect_ratio
256x256512x5121024x1024

Start with a few lines

Put it to work.

Use your provider credentials. Call the model through the SDK and build around its output.

Generate
import celeste
response = await celeste.images.generate(
model="dall-e-2",
prompt="A quiet observatory on a volcanic coast at dawn." )
image = response.content

This example uses images.generate. Explore the quickstart for installation and authentication.