Make an image
Generate one image from a text prompt for $0.05 and download it, with a copy-paste curl example.
This page uses NURETA_URL, NURETA_KEY and the wait_task helper from Get started.
One image costs $0.05, at 2K (default) or 4K.
IMG=$(curl -s -X POST "$NURETA_URL/api/v3/images/generations/tasks" \
-H "Authorization: Bearer $NURETA_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "seahorse-image",
"content": [{"type": "text", "text": "a woman in a red dress on a balcony at sunset, photo"}]}')
IMG_ID=$(printf '%s' "$IMG" | jq -r .id)
IMG_DONE=$(wait_task "$NURETA_URL/api/v3/images/generations/tasks/$IMG_ID")
curl -s -o balcony.jpg "$(printf '%s' "$IMG_DONE" | jq -r .content.image_url)"An image task has no step progress: it is queued, running, then succeeded or failed. To use reference images, add up to 9 image_url items: upload each one as in Image to video, then see the Image reference.
Image API reference
Create and poll adult image tasks at 2K or 4K, text-only or with up to 9 reference images. Flat $0.05 per image, callbacks and automatic refunds.
Script API reference
Turn a one-line idea into a structured adult storyboard: title, characters, per-scene setting, beat and duration. Flat $0.01 per script, no render.