generate
Execute an approved paid AI image, video, or audio request using a quote_id after user price approval; returns a job ID and idempotency key for safe retries.
Instructions
PAID: the only tool that spends the user's Raywake balance. Call ONLY after the user approves the quoted USD price, with quote_id from quote for exactly the same model+input. Waits up to 45 seconds. Save the returned idempotency_key even on errors; reuse it with the exact request to recover a lost response. Continue existing jobs with free get_job, never a new generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Exact provider-native input matching get_model schema. Media references must be public HTTPS URLs. | |
| model | Yes | Exact endpoint_id returned by search_models/get_model. | |
| quote_id | Yes | ||
| idempotency_key | No | Saved key for an exact retry. Omit for a new approved generation; the server creates and returns one. |