Properties
| Name | Type | Description |
|---|---|---|
| model_id | string | Must match an active catalog ID from /api/ai/models. |
| prompt | string | Sanitized server-side (max 2000 chars in the unified flow). |
| image_urls | string | Reference image(s) for image-to-video (i2v) and image models. |
| video_urls | string | Source video for editing, video-to-video and lip-sync models. |
| audio_urls | string | Target speech/voice audio for lip-sync and avatar models. |
| options | string | Per-model params — see options reference below. |
| input | string | Raw provider payload passthrough. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/samautomation-work/json-schema/samautomation-work-post-api-ai-generate-request-schema.json",
"title": "PostApiAiGenerateRequest",
"x-generated": "2026-10-31",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_ae-authored/samautomation-work-openapi-generated.yml#/components/schemas/PostApiAiGenerateRequest",
"type": "object",
"properties": {
"model_id": {
"type": "string",
"description": "Must match an active catalog ID from /api/ai/models."
},
"prompt": {
"type": "string",
"description": "Sanitized server-side (max 2000 chars in the unified flow)."
},
"image_urls": {
"type": "string",
"description": "Reference image(s) for image-to-video (i2v) and image models."
},
"video_urls": {
"type": "string",
"description": "Source video for editing, video-to-video and lip-sync models."
},
"audio_urls": {
"type": "string",
"description": "Target speech/voice audio for lip-sync and avatar models."
},
"options": {
"type": "string",
"description": "Per-model params — see options reference below."
},
"input": {
"type": "string",
"description": "Raw provider payload passthrough."
}
},
"required": [
"model_id"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/samautomation-work-post-api-ai-generate-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.