OmnAPI - Phase 1
  1. Producer
OmnAPI - Phase 1
  • Tasks
    • Create Task
      POST
    • Get Task
      GET
    • Cancel Task
      POST
  • Producer
    • Generate Image
      POST
    • Generate Lyrics
      POST
    • Generate Music (Compose)
      POST
    • Generate Music (Modify)
      POST
  • Schemas
    • Schemas
      • User
      • EmailTask
      • Session
      • SmsTask
      • Account
      • Verification
      • TwoFactor
      • Organization
      • Member
      • Invitation
  1. Producer

Generate Music (Compose)

POST
/api/v1/producer/generate/music/compose
Queue a Producer compose task (audio__create_song): supports lyrics/instrumental, sound prompt, seed/bpm/length, title, and optional cover image.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Response for status 200
Body

🟠400
🟠401
🟠402
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.omnapi.com/api/v1/producer/generate/music/compose' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "soundPrompt": "string",
    "lyrics": "string",
    "instrumental": false,
    "seed": 0,
    "bpm": 1,
    "length": 1,
    "title": "string",
    "imageId": "string",
    "imagePrompt": "string",
    "lyricsId": "string",
    "currentSongId": "string",
    "model": "Lyria 3 preview",
    "advancedMode": false,
    "conversationId": "string",
    "config": {
        "priority": 5,
        "webhookUrl": "http://example.com",
        "tags": [
            "string"
        ],
        "metadata": {}
    }
}'
Response Response Example
200 - Example 1
{
    "taskId": "string",
    "status": "PENDING",
    "creditsReserved": 0,
    "estimatedCompletionTime": null
}
Modified at 2026-03-09 15:29:15
Previous
Generate Lyrics
Next
Generate Music (Modify)
Built with