Image-to-image
What this lets you do
Transform one reference image through a durable managed turn.What you need
- A supported PNG, JPEG, or WebP file named
reference.png - A server-side DreamLayer test or live key
- One available live credit when using a live key
curlandjq
Steps
1. Upload one input
2. Save the returned input_asset_id
The commands above store the opaque input_asset_id in INPUT_ASSET_ID. Store it as application state and do not infer storage paths from it.
3. Execute
Confirm it worked
The stream emits one normalized PNG asset and ends withdone status completed.
Common errors
413: resize or recompress an input outside the published limits.404: upload a current asset owned by the authenticated account.422: send exactly one supported reference image in V1.