The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
{
"components": {
"schemas": {
"File": {
"properties": {
"content_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The mime type of the file.",
"examples": [
"image/png"
],
"title": "Content Type"
},
"file_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The name of the file. It will be auto-generated if not provided.",
"examples": [
"z9RV14K95DvU.png"
],
"title": "File Name"
},
"file_size": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "The size of the file in bytes.",
"examples": [
4404019
],
"title": "File Size"
},
"url": {
"description": "The URL where the file can be downloaded from.",
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "File",
"type": "object",
"x-fal-order-properties": [
"url",
"content_type",
"file_name",
"file_size"
]
},
"LyricsLine": {
"properties": {
"end": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "End"
},
"start": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Start"
},
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Text"
},
"words": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/LyricsWord"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Words"
}
},
"title": "LyricsLine",
"type": "object",
"x-fal-order-properties": [
"start",
"end",
"text",
"words"
]
},
"LyricsSection": {
"properties": {
"end": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "End"
},
"lines": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/LyricsLine"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Lines"
},
"section_type": {
"anyOf": [
{
"enum": [
"intro",
"verse",
"pre-chorus",
"chorus",
"bridge",
"break",
"outro"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Section Type"
},
"start": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Start"
}
},
"title": "LyricsSection",
"type": "object",
"x-fal-order-properties": [
"section_type",
"start",
"end",
"lines"
]
},
"LyricsWord": {
"properties": {
"end": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "End"
},
"start": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Start"
},
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Text"
}
},
"title": "LyricsWord",
"type": "object",
"x-fal-order-properties": [
"start",
"end",
"text"
]
},
"QueueStatus": {
"properties": {
"cancel_url": {
"description": "The cancel url.",
"type": "string"
},
"logs": {
"additionalProperties": true,
"description": "The logs.",
"type": "object"
},
"metrics": {
"additionalProperties": true,
"description": "The metrics.",
"type": "object"
},
"queue_position": {
"description": "The queue position.",
"type": "integer"
},
"request_id": {
"description": "The request id.",
"type": "string"
},
"response_url": {
"description": "The response url.",
"type": "string"
},
"status": {
"enum": [
"IN_QUEUE",
"IN_PROGRESS",
"COMPLETED"
],
"type": "string"
},
"status_url": {
"description": "The status url.",
"type": "string"
}
},
"required": [
"status",
"request_id"
],
"type": "object"
},
"V95GenerateSongInput": {
"description": "Input for v9.5 GenerateSong.",
"properties": {
"duration": {
"anyOf": [
{
"maximum": 300,
"minimum": 120,
"type": "integer"
},
{
"type": "null"
}
],
"description": "Target song duration in seconds. If omitted, the model determines the duration automatically. The length of the lyrics also affects the target duration.",
"title": "Duration"
},
"enable_safety_checker": {
"default": true,
"description": "Authorized callers may set false to request relaxed screening.",
"title": "Enable Safety Checker",
"type": "boolean"
},
"gender": {
"anyOf": [
{
"enum": [
"female",
"male"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Preferred vocal gender for lyrics-to-song generation. An uploaded or cloned voice takes precedence.",
"title": "Gender"
},
"lyrics": {
"anyOf": [
{
"maxLength": 5000,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"description": "Lyrics to sing, up to 5,000 characters. Provide this for lyrics-to-song generation; otherwise provide prompt for prompt-to-song generation.",
"title": "Lyrics"
},
"melody_id": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"description": "Melody ID returned by /files/upload with purpose='melody'. This cannot be combined with prompt, reference_id, or vocal_id.",
"title": "Melody Id"
},
"prompt": {
"anyOf": [
{
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"description": "Describe the desired song, mood, instrumentation, and vocals. Required when lyrics is omitted, up to 2,000 characters. With lyrics, it acts as a music-style control and supports up to 1,024 characters.",
"examples": [
"A bright summer love song with a catchy chorus"
],
"title": "Prompt"
},
"reference_id": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"description": "Reference-music ID returned by /files/upload with purpose='reference'.",
"title": "Reference Id"
},
"styles": {
"anyOf": [
{
"items": {
"enum": [
"pop",
"rock",
"jazz",
"r&b",
"edm",
"ambient",
"folk",
"latin",
"k-pop",
"j-pop",
"house",
"gospel",
"lo-fi"
],
"type": "string"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"description": "One or more musical genres for prompt-to-song generation. This cannot be used when lyrics is provided.",
"examples": [
[
"pop",
"rock"
]
],
"title": "Styles"
},
"vocal_id": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"description": "Voice ID returned by /voice/clone.",
"title": "Vocal Id"
}
},
"title": "GenerateSongV95Input",
"type": "object",
"x-fal-order-properties": [
"lyrics",
"styles",
"prompt",
"gender",
"reference_id",
"vocal_id",
"melody_id",
"enable_safety_checker",
"duration"
]
},
"V95GenerateSongOutput": {
"description": "A generated audio file and its reusable song identifier.",
"properties": {
"audio": {
"$ref": "#/components/schemas/File",
"description": "The generated audio file."
},
"duration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Duration of the generated audio in milliseconds, when available.",
"title": "Duration"
},
"lyrics_sections": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/LyricsSection"
},
"type": "array"
},
{
"type": "null"
}
],
"description": "Timed lyric sections for the generated audio, when available.",
"title": "Lyrics Sections"
},
"song_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Reusable identifier for this audio. Pass it to endpoints that accept song_id.",
"title": "Song Id"
}
},
"required": [
"audio"
],
"title": "GeneratedAudioOutput",
"type": "object",
"x-fal-order-properties": [
"song_id",
"audio",
"duration",
"lyrics_sections"
]
}
},
"securitySchemes": {
"apiKeyAuth": {
"description": "Fal Key",
"in": "header",
"name": "Authorization",
"type": "apiKey"
}
}
},
"info": {
"description": "The OpenAPI schema for the mureka/v9.5/generate/song queue.",
"title": "Queue OpenAPI for mureka/v9.5/generate/song",
"version": "1.0.0",
"x-fal-metadata": {
"about": "Generate complete songs from lyrics or a natural-language description.\n\nLyrics mode gives direct control over the words, while prompt mode creates a\nsong from its requested theme and musical styles. Each result includes a\nreusable song ID and audio URL.",
"category": "text-to-audio",
"documentationUrl": "https://fal.ai/models/mureka/v9.5/generate/song/api",
"endpointId": "mureka/v9.5/generate/song",
"playgroundUrl": "https://fal.ai/models/mureka/v9.5/generate/song",
"thumbnailUrl": "https://v3b.fal.media/files/b/0aaa61bd/nUKHfwGHS0eFH_BoR-mDL.jpg"
}
},
"openapi": "3.1.0",
"paths": {
"/mureka/v9.5/generate/song": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/V95GenerateSongInput"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/QueueStatus"
}
}
},
"description": "The request status."
}
}
}
},
"/mureka/v9.5/generate/song/requests/{request_id}": {
"get": {
"parameters": [
{
"in": "path",
"name": "request_id",
"required": true,
"schema": {
"description": "Request ID",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/V95GenerateSongOutput"
}
}
},
"description": "Result of the request."
}
}
}
},
"/mureka/v9.5/generate/song/requests/{request_id}/cancel": {
"put": {
"parameters": [
{
"in": "path",
"name": "request_id",
"required": true,
"schema": {
"description": "Request ID",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"success": {
"description": "Whether the request was cancelled successfully.",
"type": "boolean"
}
},
"type": "object"
}
}
},
"description": "The request was cancelled."
}
}
}
},
"/mureka/v9.5/generate/song/requests/{request_id}/status": {
"get": {
"parameters": [
{
"in": "path",
"name": "request_id",
"required": true,
"schema": {
"description": "Request ID",
"type": "string"
}
},
{
"in": "query",
"name": "logs",
"required": false,
"schema": {
"description": "Whether to include logs (`1`) in the response or not (`0`).",
"type": "number"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/QueueStatus"
}
}
},
"description": "The request status."
}
}
}
}
},
"security": [
{
"apiKeyAuth": []
}
],
"servers": [
{
"url": "https://queue.fal.run"
}
]
}