create_music
AI music generation from a text prompt. Creates a complete original song with vocals, melody, and full arrangement as a finished MP3, not a loop or preview. Describe genre, mood, instrumentation, and tempo, supply your own lyrics, request an instrumental, or pin a style tag. Use for soundtracks under video, release-ready artist tracks, podcast and game themes, and demo sketches. Async: poll songId until model_version leaves 'pending'. — $0.50 USDC via x402 on Base (chain 8453).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Comma-separated keywords to tag the generated file. | |
| style | No | Specific musical style or genre tag (e.g., 'Hip Hop', 'Ambient', 'Rock'). Helping the AI focus on a specific sound. | |
| lyrics | No | Your custom lyrics. Required if custom_mode is true. | |
| prompt | Yes | Describe the song you want to create. Include genre, mood, instruments, and any specific vibe. Example: 'Upbeat 80s synthwave with driving bass and neon atmosphere' or 'A melancholic acoustic guitar ballad about rain'. | |
| custom_mode | No | Set to true to use your own lyrics provided in the 'lyrics' field. | |
| vocal_gender | No | Preferred gender for the vocalist ('m' for male, 'f' for female). | |
| durationSeconds | No | Duration of the track in seconds. Defaults to a full-length song. | |
| make_instrumental | No | If true, generates a track without vocals. |