Get full details for one tool: all models, input schemas, pricing.Arguments
Name
Type
Description
tool_slug
string
Tool slug, e.g. "create-image", "create-video", "text-to-speech"
Returns: the tool object with models[], each with slug, name, cost, costUnit, and inputSchema.Call this before generate if you want your AI to pick the best/cheapest model, or to show the user options.
Submit a generation job. Returns immediately with a job_id — the job runs asynchronously in the background.
This tool is async. After calling, poll check_generation with the returned job_id every few seconds until status is "success" or "error". Videos and audio can take minutes.
Arguments
Name
Type
Description
tool
string
Tool slug, e.g. "create-image"
input
object
Must include model (string) plus fields from the model’s inputSchema
Example call
{ "tool": "create-image", "input": { "model": "flux-schnell", "prompt": "A cute golden retriever wearing sunglasses", "image_size": "square_hd" }}
Response
{ "job_id": "507f1f77bcf86cd799439011", "status": "processing", "tool": "create-image", "type": "image", "eta_seconds": 15, "poll_after_seconds": 3, "message": "Job submitted. Poll check_generation with job_id=\"507f...\" every ~3s until status is \"success\" or \"error\"."}
Typical ETA hints
Type
eta_seconds
image / text
15
audio
30
3d
60
video (≤4s)
60
video (8s)
120
poll_after_seconds is always clamped between 3s and 10s.