Original DALL-E 2 from OpenAI for classic text-to-image generation via the OpenAI Image Generation API. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Idle

$0.12per run·~83 / $10

A calm river winding through a misty forest, oil painting style, soft blending, impressionistic colors, morning light

A cartoon-style tropical fish in an aquarium, vibrant colors and whimsical patterns, oversized expressive eyes, surrounded by colorful coral and bubbles. Soft lighting, square aspect ratio, cheerful and charming mood.

Minimalist style fox with a fluffy tail, standing in an autumn forest.

An orange cat wearing a spacesuit, floating inside a space station, Earth and stars visible in the background, futuristic style, high-resolution rendering

A knight in ancient armor standing on a mountaintop overlooking a battlefield, bathed in sunset light, cinematic lens, shallow depth of field

A vintage steam train passing through autumn mountains, oil painting style, thick brush textures, warm tones, cinematic composition

A woman in a flowing red dress dancing in a field of flowers, oil painting style, dynamic movement, vibrant colors, romantic lighting

A still life of fruit and a glass bottle on a wooden table, oil painting style, textured brushwork, realistic lighting, classical composition

A falcon soaring over a snowy mountain peak, oil painting style, dramatic sky, rich palette, expressive brush strokes.

A cozy cottage by a lake under a starry night sky, oil painting style, reflective water, textured brush strokes, serene mood
Create imaginative images from text descriptions with OpenAI's DALL-E 2 — a pioneering text-to-image model known for its artistic versatility and creative interpretation. From oil paintings to digital art, DALL-E 2 transforms your words into visually compelling artwork with distinctive style.
Looking for higher fidelity? Try GPT-Image-1 High Fidelity for maximum quality output.
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the image you want to generate. |
Flat rate per image generation.
| Output | Cost |
|---|---|
| Per image | $0.12 |
Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/openai/dall-e-2 with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Dall E 2 below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/openai/dall-e-2" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"enable_base64_output": false
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("openai/dall-e-2", {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"enable_base64_output": false
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"openai/dall-e-2",
{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"enable_base64_output": false
}
)
print(output["outputs"][0]) # → URL of the generated outputDall E 2 is a OpenAI model for image generation, exposed as a REST API on WaveSpeedAI. Original DALL-E 2 from OpenAI for classic text-to-image generation via the OpenAI Image Generation API. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/openai/openai-dall-e-2.
Dall E 2 starts at $0.12 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `prompt`, `enable_base64_output`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/openai/openai-dall-e-2.
Average end-to-end generation time on WaveSpeedAI is around 14 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.
Commercial usage rights depend on the model's license, set by its provider (OpenAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.