Rostro · Schema

MusicGenerationRequest

Generative AIMedia GenerationSubscriptionDevelopers

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.
chat_id object If this is inside of a chat, include its ID as a string.
uuid object
mode object
sub_mode object
width object The width. Overridden by aspect ratio.
height object The height. Overridden by aspect ratio.
item_id object The item_id, if any.
extension_source object If an extension is requesting this, include its ID.
parent_image object The UUID of the parent image, if any.
aspect_ratio object The desired aspect ratio.
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.
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.
tags object For future use.
title object For future use.
cfg_coefficient object The CFG Coefficient. Increments of 0.1. Advanced setting.
temperature object The temperature. Increments of 0.1. Advanced setting.
top_k object The top k. Advanced setting.
lyrics_prompt object For future use.
View JSON Schema on GitHub

JSON Schema

rostro-dev-music-generation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rostro-dev/json-schema/rostro-dev-music-generation-request-schema.json",
  "title": "MusicGenerationRequest",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rostro-dev-openapi.json#/components/schemas/MusicGenerationRequest",
  "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"
    },
    "chat_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Chat Id",
      "description": "If this is inside of a chat, include its ID as a string."
    },
    "uuid": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Uuid"
    },
    "mode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mode"
    },
    "sub_mode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sub Mode"
    },
    "width": {
      "anyOf": [
        {
          "type": "integer",
          "multipleOf": 8.0,
          "maximum": 1536.0,
          "minimum": 8.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Width",
      "description": "The width. Overridden by aspect ratio.",
      "default": 1024
    },
    "height": {
      "anyOf": [
        {
          "type": "integer",
          "multipleOf": 8.0,
          "maximum": 1536.0,
          "minimum": 8.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Height",
      "description": "The height. Overridden by aspect ratio.",
      "default": 1024
    },
    "item_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Item Id",
      "description": "The item_id, if any."
    },
    "extension_source": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Extension Source",
      "description": "If an extension is requesting this, include its ID."
    },
    "parent_image": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Image",
      "description": "The UUID of the parent image, if any."
    },
    "aspect_ratio": {
      "anyOf": [
        {
          "$ref": "#/$defs/AspectRatio"
        },
        {
          "type": "null"
        }
      ],
      "description": "The desired aspect ratio.",
      "default": "w1h1"
    },
    "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": ""
    },
    "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
    },
    "tags": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags",
      "description": "For future use."
    },
    "title": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50
        },
        {
          "type": "null"
        }
      ],
      "title": "Title",
      "description": "For future use."
    },
    "cfg_coefficient": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 3.0,
          "minimum": 0.1
        },
        {
          "type": "null"
        }
      ],
      "title": "Cfg Coefficient",
      "description": "The CFG Coefficient. Increments of 0.1. Advanced setting.",
      "default": 1.5
    },
    "temperature": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 2.0,
          "minimum": 0.1
        },
        {
          "type": "null"
        }
      ],
      "title": "Temperature",
      "description": "The temperature. Increments of 0.1. Advanced setting.",
      "default": 0.9
    },
    "top_k": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 100.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Top K",
      "description": "The top k. Advanced setting.",
      "default": 30
    },
    "lyrics_prompt": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Lyrics Prompt",
      "description": "For future use."
    }
  },
  "type": "object",
  "$defs": {
    "AspectRatio": {
      "type": "string",
      "enum": [
        "w1h1",
        "w1h2",
        "w2h1",
        "w16h9",
        "w21h9",
        "w2h3",
        "w3h2",
        "w3h4",
        "w4h3",
        "w4h5",
        "w5h4",
        "w9h16",
        "w9h21"
      ],
      "title": "AspectRatio"
    },
    "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"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/rostro-dev-music-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.