DALL·E API

Generate DALL·E outputs via the Pollo API. Same auth, same key — switch models with one parameter.

Quick start

Drop this into a terminal with a valid POLLO_API_KEY to test the model.

curl https://api.pollo.ai/v1/image/generate \
  -H "Authorization: Bearer $POLLO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dall-e",
    "prompt": "A cinematic golden hour product photo",
    "aspect_ratio": "1:1",
    "num_images": 1
  }'

Parameters

  • prompt

    stringRequired

    Text prompt describing the image to generate.

  • image

    string (URL or base64)

    Optional reference image for image-to-image or guided generation.

  • aspect_ratio

    string

    One of '1:1', '16:9', '9:16', '4:5'. Defaults to '1:1'.

  • num_images

    number

    Number of images to generate when the model supports multiple outputs.

  • seed

    number

    Deterministic seed for reproducible generations.

Response

{
  "id": "gen_a93f8c7e1b",
  "status": "queued",
  "model": "dall-e",
  "estimated_seconds": 14
}

Poll GET /v1/generations/{id} or subscribe to the generation.completed webhook to receive the asset URL when the render finishes.