V1ImagesJobs

Submit image generation job

POST
/v1/images/jobs
modelstring

Image model identifier to call for generation.

promptstring

Text prompt describing the desired image content.

Length1 <= length <= 4000
n?integer

Number of images to generate (1-8).

Default1
Range1 <= value <= 8
size?string

Output resolution, e.g. 1024x1024 or 1920x1080.

Default"1024x1024"
Value in"256x256" | "512x512" | "1024x1024" | "2048x2048" | "1024x768" | "768x1024" | "1920x1080" | "1080x1920"
quality?string

Image quality level. Some models support low/medium/high tiers; HD doubles cost for legacy Imagen models.

Default"standard"
Value in"standard" | "hd" | "low" | "medium" | "high"
style?string

Style preset applied to the generation.

Default"natural"
Value in"natural" | "vivid"
response_format?string

Whether to return URLs or base64 JSON payloads.

Default"url"
Value in"url" | "b64_json"
user?string

Optional end-user identifier forwarded for moderation.

Response Body

curl -X POST "https://api-beta.daydreams.systems/v1/images/jobs" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "string",
    "prompt": "string"
  }'
{
  "job_id": "string",
  "status": "queued",
  "estimate_usd": 0
}
Empty
Empty
Empty