Create a generation (paid)
deepy_create_generationStart a paid AI content generation (video, image, audio) after the user confirms the estimated cost, ensuring idempotent requests to avoid duplicate charges.
Instructions
Start a PAID generation. Requires confirmed=true — the tool refuses otherwise and contacts no backend. Params must be byte-identical to the estimate (quote == charge). An X-Idempotency-Key is auto-generated to prevent double-charging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Prompt — must be byte-identical to the estimate (quote == charge). | |
| confirmed | Yes | MUST be true. Set to true ONLY after the user has seen the estimate and explicitly approved the charge. | |
| modelName | Yes | Model name (must match the estimate). | |
| parameters | No | Model parameters — must be byte-identical to the estimate. Defaults to {}. | |
| idempotencyKey | No | Optional X-Idempotency-Key. If omitted, a stable key is derived from the request body so retries of the same request are charged once. If you supply an explicit key, not reusing it with a different body is your responsibility. | |
| referenceFiles | No | Reference file ids — must match the estimate. Defaults to []. |