Generate an image
Discover an image tool, check its inputs, and estimate the cost before generating.
list_toolsdescribe_tool_modelget_tool_quotesubmit_generationget_job_results
View prompt
Help me generate an image. First ask what I want to create. Use list_tools to find an enabled image tool, then describe_tool_model to inspect its inputs. Estimate the cost with get_tool_quote and wait for my approval. After approval, use submit_generation with the agreed maxCredits and a stable idempotencyKey, then wait_for_generation and get_job_results to check the result. If retrying the exact same generation, reuse its idempotencyKey.

