Properties
| Name | Type | Description |
|---|---|---|
| lyrics | object | The song's lyrics, if relevant. Each part should begin with a structure tag ([verse], [chorus], [bridge], [intro-short], [intro-medium], [intro-long], [outro-short], [outro-medium], [outro-long], [ins |
| genre | object | The musical genre. |
| music_type | object | Whether to make instrumental music, only vocals, or a fully mixed song. If requesting 'vocals' or 'mixed', lyrics MUST be provided. |
| duration | object | The desired duration, in seconds, of the video, sound effect, or other media. Does not affect music length. |
| end_image | object | The final frame image for image-to-video, as a URL or base64 string. If you want a video to loop, give the same start and end image. |
| fps | object | The number of frames per second. |
| i2i_type | object | Whether to do edit-based i2i ('edit'), edge-based i2i ('canny'), or face/person-based i2i ('face'). Edit preserves the most of the structure and style of the original image; canny preserves the image' |
| mask_image | object | The mask image, as a URL or base64 string. |
| preserve_transparency | object | If given, the transparency of the non-mask image(s) will be preserved. Useful if your input image has clear parts and you want to keep them clear. |
| init_images | object | Optional. Reference images. A list of base64 image string(s) and/or URL(s). If not provided, text-to-image will be done on the text prompt. Because of this, it is recommended to use text-to-image firs |
| octree_resolution | object | The octree resolution to generate for 3D models. Lower resolutions will generate faster, but be less detailed. |
| texture_size | object | The pixel width of the generated texture for 3D models. Lower resolutions will generate faster, but be less detailed. |
| output_type | object | What file type to output. |
| speed | object | Enabling turbo will make generations much faster but with slightly worse output. |
| do_texture | object | Whether to generate a texture as well. |
| do_autorig | object | Whether to generate a rig as well. |
| autorig_type | object | The type of rigging to use. 'Bipedal' is common and will create much better rigs for humans and other bipeds. The 'quadruped' option is best for non-anthropomorphic animals. If you aren't sure which t |
| transcript | object | The text to read out. |
| voice | object | Select a voice to use. |
| seed | object | Use this only if reproducible results are important. |
| prompt | object | It should be descriptive of exactly what you want, and fairly detailed. |
| negative_prompt | object | What you don't want in the result. |
| aspect_ratio | object | The desired aspect ratio. |
| num_inference_steps | object | Larger values may produce better outputs at the cost of longer generation times. Values over 50 are usually overkill. |
| remove_background | object | Whether to remove the background of any image(s) before/after this operation. |
| init_image | object | Base64 image string, or a URL to an image. |
| strength | object | The strength of any image-to-image transformation. |
| guidance_scale | object | How strongly the prompt affects the output. |
| generation_type | object | The type of media to generate. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/rostro-dev/json-schema/rostro-dev-generation-request-schema.json",
"title": "GenerationRequest",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/rostro-dev-openapi.json#/components/schemas/GenerationRequest",
"properties": {
"lyrics": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"title": "Lyrics",
"description": "The song's lyrics, if relevant. Each part should begin with a structure tag ([verse], [chorus], [bridge], [intro-short], [intro-medium], [intro-long], [outro-short], [outro-medium], [outro-long], [inst-short], [inst-medium], [inst-long], [silence]) and a newline, and end with two newlines. These segments should not contain lyrics: ([intro], [intro-short], [intro-medium], [inst], [inst-short], [inst-medium], [outro], [outro-short], [outro-medium])"
},
"genre": {
"anyOf": [
{
"$ref": "#/$defs/MusicGenre"
},
{
"type": "null"
}
],
"description": "The musical genre.",
"default": "automatic"
},
"music_type": {
"anyOf": [
{
"$ref": "#/$defs/MusicGenType"
},
{
"type": "null"
}
],
"description": "Whether to make instrumental music, only vocals, or a fully mixed song. If requesting 'vocals' or 'mixed', lyrics MUST be provided.",
"default": "mixed"
},
"duration": {
"anyOf": [
{
"type": "integer",
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Duration",
"description": "The desired duration, in seconds, of the video, sound effect, or other media. Does not affect music length.",
"default": 4
},
"end_image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "End Image",
"description": "The final frame image for image-to-video, as a URL or base64 string. If you want a video to loop, give the same start and end image."
},
"fps": {
"anyOf": [
{
"type": "integer",
"maximum": 24.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Fps",
"description": "The number of frames per second.",
"default": 8
},
"i2i_type": {
"anyOf": [
{
"$ref": "#/$defs/I2IType"
},
{
"type": "null"
}
],
"description": "Whether to do edit-based i2i ('edit'), edge-based i2i ('canny'), or face/person-based i2i ('face'). Edit preserves the most of the structure and style of the original image; canny preserves the image's structure, but not its style; face preserves neither, but keeps the visual identity/face of a person in the source image.",
"default": "edit"
},
"mask_image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Mask Image",
"description": "The mask image, as a URL or base64 string."
},
"preserve_transparency": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Preserve Transparency",
"description": "If given, the transparency of the non-mask image(s) will be preserved. Useful if your input image has clear parts and you want to keep them clear.",
"default": true
},
"init_images": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Init Images",
"description": "Optional. Reference images. A list of base64 image string(s) and/or URL(s). If not provided, text-to-image will be done on the text prompt. Because of this, it is recommended to use text-to-image first and select the preferred appearance.",
"default": []
},
"octree_resolution": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Octree Resolution",
"description": "The octree resolution to generate for 3D models. Lower resolutions will generate faster, but be less detailed.",
"default": 384
},
"texture_size": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Texture Size",
"description": "The pixel width of the generated texture for 3D models. Lower resolutions will generate faster, but be less detailed.",
"default": 1024
},
"output_type": {
"anyOf": [
{
"$ref": "#/$defs/Output3DType"
},
{
"type": "null"
}
],
"description": "What file type to output.",
"default": "glb"
},
"speed": {
"anyOf": [
{
"$ref": "#/$defs/Speed"
},
{
"type": "null"
}
],
"description": "Enabling turbo will make generations much faster but with slightly worse output.",
"default": "normal"
},
"do_texture": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Do Texture",
"description": "Whether to generate a texture as well.",
"default": true
},
"do_autorig": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Do Autorig",
"description": "Whether to generate a rig as well.",
"default": false
},
"autorig_type": {
"anyOf": [
{
"$ref": "#/$defs/RigType"
},
{
"type": "null"
}
],
"description": "The type of rigging to use. 'Bipedal' is common and will create much better rigs for humans and other bipeds. The 'quadruped' option is best for non-anthropomorphic animals. If you aren't sure which to pick, use 'unknown'.",
"default": "unknown"
},
"transcript": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Transcript",
"description": "The text to read out.",
"default": "A wizard's job is to vex chumps quickly in fog."
},
"voice": {
"anyOf": [
{
"$ref": "#/$defs/Voice"
},
{
"type": "null"
}
],
"description": "Select a voice to use.",
"default": "bright_female_20s"
},
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"description": "Use this only if reproducible results are important.",
"default": -1
},
"prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prompt",
"description": "It should be descriptive of exactly what you want, and fairly detailed.",
"default": ""
},
"negative_prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Negative Prompt",
"description": "What you don't want in the result.",
"default": ""
},
"aspect_ratio": {
"anyOf": [
{
"$ref": "#/$defs/AspectRatio"
},
{
"type": "null"
}
],
"description": "The desired aspect ratio.",
"default": "w1h1"
},
"num_inference_steps": {
"anyOf": [
{
"type": "integer",
"maximum": 100.0,
"minimum": 2.0
},
{
"type": "null"
}
],
"title": "Num Inference Steps",
"description": "Larger values may produce better outputs at the cost of longer generation times. Values over 50 are usually overkill.",
"default": 30
},
"remove_background": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Remove Background",
"description": "Whether to remove the background of any image(s) before/after this operation.",
"default": false
},
"init_image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Init Image",
"description": "Base64 image string, or a URL to an image."
},
"strength": {
"anyOf": [
{
"type": "number",
"maximum": 1.0,
"minimum": 0.001
},
{
"type": "null"
}
],
"title": "Strength",
"description": "The strength of any image-to-image transformation.",
"default": 0.7
},
"guidance_scale": {
"anyOf": [
{
"type": "number",
"maximum": 20.0,
"minimum": 0.1
},
{
"type": "null"
}
],
"title": "Guidance Scale",
"description": "How strongly the prompt affects the output.",
"default": 3.5
},
"generation_type": {
"$ref": "#/$defs/GenerationType",
"description": "The type of media to generate.",
"default": "text_to_image"
}
},
"type": "object",
"$defs": {
"AspectRatio": {
"type": "string",
"enum": [
"w1h1",
"w1h2",
"w2h1",
"w16h9",
"w21h9",
"w2h3",
"w3h2",
"w3h4",
"w4h3",
"w4h5",
"w5h4",
"w9h16",
"w9h21"
],
"title": "AspectRatio"
},
"GenerationType": {
"type": "string",
"enum": [
"text_to_speech",
"text_to_image",
"text_to_video",
"image_to_image",
"image_to_video",
"text_to_sfx",
"text_to_music",
"text_to_3d",
"image_to_3d"
],
"title": "GenerationType"
},
"I2IType": {
"type": "string",
"enum": [
"canny",
"face",
"edit"
],
"title": "I2IType"
},
"MusicGenType": {
"type": "string",
"enum": [
"instrumental",
"vocals",
"mixed"
],
"title": "MusicGenType"
},
"MusicGenre": {
"type": "string",
"enum": [
"pop",
"rhythm_and_blues",
"dance",
"jazz",
"folk",
"rock",
"chinese_modern",
"eastern_traditional",
"eastern_opera",
"metal",
"reggae",
"automatic"
],
"title": "MusicGenre"
},
"Output3DType": {
"type": "string",
"enum": [
"glb",
"vrm"
],
"title": "Output3DType"
},
"RigType": {
"type": "string",
"enum": [
"biped",
"quadruped",
"unknown",
"none"
],
"title": "RigType"
},
"Speed": {
"type": "string",
"enum": [
"turbo",
"normal"
],
"title": "Speed"
},
"Voice": {
"type": "string",
"enum": [
"bright_female_20s",
"gentle_female_30s",
"whispery_female_40s",
"formal_female_30s",
"professional_female_30s",
"resonant_male_40s",
"light_male_20s",
"animated_male_20s",
"calm_female_20s"
],
"title": "Voice"
}
}
}
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/rostro-dev-generation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.