target_age. The model is chosen automatically based on the age and modification mode you provide — no model selection required.
The call is synchronous — it blocks until processing completes and returns the finished image URLs directly.
Before you start
- A valid Bearer token. See Authentication.
- Enough credits. Failed generations are refunded automatically.
- A publicly reachable image URL. The API fetches the image server-side — it cannot be behind a login, a signed-URL expiry, or a firewall.
Step 1 — Submit the request
Request fields
The model is selected automatically based on
target_age and age_mode. You do not need to specify a model.Step 2 — Read the response
Credits are reserved when the job is accepted and refunded automatically if the generation fails.
Step 3 — Optional: receive results by webhook
Pass awebhook_url to have the result delivered to your server after generation completes, in addition to the synchronous response.
data object shown in Step 2. Delivery is fire-and-forget — sent once, never retried. The URL must be HTTPS.
Step 4 — Look up an earlier job
Use this to re-fetch the result of a past job, or if the connection dropped during generation:output_urls and credits_deducted appear only once status is completed. When it is failed, you get an error field instead.
Common issues
See Errors for the full code reference.

