🎉 Free generations on your first purchase of each pack — up to 20 Lite videos + 20 Lite images + 10 Medium videos + 10 Pro images + 2 Pro videos.

Get started

Developer API

DreamUtopia API

Generate images and videos from your own scripts, or hand the recipe to an AI coding agent. One REST API, one API key, the same credits and models as the web app.

Base URL

https://api.dreamutopia.net/v1

Authentication

Bearer du_live_…

Access

Paid accounts only

60-second quickstart

  1. Create a key on your profile page and export it. A key is shown once; store it somewhere safe.
shell
export DREAMUTOPIA_API_KEY="du_live_..."

Create an image and read the job id:

shell
curl -sS -X POST https://api.dreamutopia.net/v1/images/generations \
  -H "Authorization: Bearer $DREAMUTOPIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"lite","prompt":"a red fox in fresh snow","resolution":"2k","aspect_ratio":"1:1"}'
response 202
{ "id": "3f2b…", "type": "image", "status": "queued", "created_at": "2026-10-24T12:00:00Z" }

Poll until it finishes, then use the result URL:

shell
curl -sS https://api.dreamutopia.net/v1/generations/3f2b… \
  -H "Authorization: Bearer $DREAMUTOPIA_API_KEY"
response
{ "id": "3f2b…", "type": "image", "status": "succeeded",
  "result": { "url": "<result_url>" }, "error": null }

What you can build

  • Images — text-to-image, image-to-image, and multi-reference blending.
  • Videos — text-to-video, image-to-video, first/last frame, optional audio.
  • Jobs — one polling shape for both media types.
  • Models & account — live tiers, resolutions, durations and the credit matrix.
  • API keys — mint, list and revoke from the profile page.

Use it from an AI coding agent

Each harness page carries a complete skill you can paste into the harness chat. The same recipe works everywhere; only the harness you paste it into changes.

Keys are server-side secrets. Never put one in a browser, a mobile app, a committed file, or a prompt. The API has no CORS layer by design.

© 2026 DreamUtopia. All rights reserved.