Music AI v2 is our most advanced music generation model yet, faster generation, higher-quality audio, sharper prompt understanding, and more creative control than any version before it.
Choose your model
v6
Studio-quality tracks in seconds, reliable, fast, and built for everyday creation.
v6-pro
Everything in v6, now with real-time streaming so listeners hear the track as it’s composed.
v7
Our best-sounding model yet, richer detail, more texture, state-of-the-art quality.
v7-pro
The full power of v7 with real-time streaming and advanced creative controls. Our flagship.
New here? Reach for v7-pro for the best quality, or drop to v6 for the fastest, most economical generations.
Model comparison
Model
Audio quality
Streaming
Best for
v6
Very good
-
Fast, dependable everyday tracks
v6-pro
Very good
Real-time
Live, as-it-generates playback
v7
Best-in-class
-
Highest-quality final renders
v7-pro
Best-in-class
Real-time
Production apps that want everything
Pass your choice with the model parameter (v6, v6-pro, v7, or v7-pro). Streaming is available on the pro models for paid users. Per-model rates are listed on the Pricing page.
If you provide a voice_id or set vocal_only to true, the request will always use the v6 model, regardless of the value passed in the model parameter.
Key features
Compose custom songs using your own lyrics and chosen music style
Generate complete tracks from a single prompt, including lyrics, instrumentation, and melody
Apply voice conversion using a custom voice model
Output full tracks, instrumental-only, or vocal-only versions
View the live streaming of the song as it generates (pro models)
Asynchronous webhook support for clean integration
Every request returns two distinct versions of the track, so you always have a creative option to choose from.
Endpoint
POST /v2/MusicAI
This is the primary endpoint for initiating music generation.
Sample Output
Listen to a real sample output:Prompt: a song about greenery, nature and forest.
Download Audio
{ "success": true, "conversion_type": "Music AI", "task_id": "c287cca4-c03a-5074-b16a-b8da9d6a124c", "conversion_id": "8725079f-bf68-5098-a6c8-6dcba44dcaa2", "subtype": "lyrics_timestamped", "lyrics_timestamped": "[{\"start\": 9880, \"end\": 35120, \"text\": \"[Verse]\", \"index\": 0}, {\"start\": 9880, \"end\": 10720, \"text\": \"Turn up the sound\", \"index\": 1}, {\"start\": 13720, \"end\": 15600, \"text\": \"Let the rhythm take control\", \"index\": 2}, {\"start\": 19200, \"end\": 20400, \"text\": \"Feel every beat\", \"index\": 3}, {\"start\": 23480, \"end\": 25400, \"text\": \"Moving through my soul\", \"index\": 4}, {\"start\": 29520, \"end\": 31440, \"text\": \"Lights are shining bright\", \"index\": 5}, {\"start\": 33320, \"end\": 35120, \"text\": \"And we lose track of time\", \"index\": 6}, {\"start\": 39640, \"end\": 54320, \"text\": \"[Chorus]\", \"index\": 7}, {\"start\": 39640, \"end\": 40120, \"text\": \"Music in the air\", \"index\": 8}, {\"start\": 41800, \"end\": 42560, \"text\": \"Dancing through the night\", \"index\": 9}, {\"start\": 44320, \"end\": 45280, \"text\": \"Every beat we share\", \"index\": 10}, {\"start\": 45600, \"end\": 47440, \"text\": \"Makes everything feel right\", \"index\": 11}, {\"start\": 49240, \"end\": 49920, \"text\": \"Turn it up again\", \"index\": 12}, {\"start\": 51720, \"end\": 54320, \"text\": \"Let the whole world sing\", \"index\": 13}]"}
Note: Each conversion_id corresponds to a different variation of the track.
Payload and Request Formation
Authorizations
Authorization
string
header
required
Body
application/json
prompt
string
A natural language prompt for music generation. Keep it under 1000 characters. Be clear and descriptive for better results.
Example:
"A happy, upbeat song about summer"
music_style
string
Style of music to generate (e.g., Rock, Pop)
negative_tags
string
Tags or themes you want to avoid in the song (e.g., sad, slow)
lyrics
string
Custom lyrics for the generated music
make_instrumental
boolean
default:false
Whether to make the music instrumental
vocal_only
boolean
default:false
Whether to generate only vocals of output audio
title
string
Title of the generated music track
Example:
"My Generated Track"
gender
string
Gender of the voice model
Example:
""
voice_id
string
Voice model to convert generated audio
Example:
""
generate_album_cover
boolean
default:false
Whether to generate an album cover for the generated audio
lyrics_timestamps
boolean
default:false
Whether to generate timestamps for the lyrics
model
enum<string>
Model version to use for generation
Available options:
v6,
v6-pro,
v7,
v7-pro
Example:
"v7"
webhook_url
string
URL for callback upon completion
Example:
"https://example.com/my-webhook"
Response
Successful response
success
boolean
message
string
task_id
string
conversion_id_1
string
conversion_id_2
string
eta
integer
is_flagged
boolean
reason
string
credit_estimate
number
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MusicGPT API Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://lalals.s3.us-east-1.amazonaws.com/ApiDocumentationFiles/MusicGPT+Logo+Black.svg","dark":"https://lalals.s3.us-east-1.amazonaws.com/ApiDocumentationFiles/MusicGPT+Logo+White.svg"},"favicon":"https://mintcdn.com/musicgpt/uQnbZrLD1Pgqyt4A/logo/MusicGPT%20Icon.svg?fit=max\u0026auto=format\u0026n=uQnbZrLD1Pgqyt4A\u0026q=85\u0026s=b7faebcf7ef366a760f8b3335bd787c3","navbar":{"links":[{"href":"https://musicgpt.com","label":"MusicGPT"},{"icon":"envelope","href":"mailto:api@musicgpt.com","label":"Contact Support"}],"primary":{"type":"button","label":"API Key","href":"https://musicgpt.com/api-dashboard"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.musicgpt.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"musicgpt","hasAudioNarration":false,"actualSubdomain":"musicgpt","customDomains":["docs.musicgpt.com"],"gitSource":{"type":"github","owner":"lalalsresearch","repo":"musicgpt-public-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aeae8f96e189dcdde3cda3c","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":73},{"language":"default","tag":"Features","count":23},{"language":"default","tag":"Conversion Endpoints","count":23},{"language":"default","tag":"Utilities","count":5},{"language":"default","tag":"Keep in mind","count":4},{"language":"default","tag":"Helper Endpoints","count":3},{"language":"default","tag":"Sample Request Endpoints","count":2},{"language":"default","tag":"Resources","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--mg-green: #16a34a;--mg-green-bright: #22c55e;--mg-green-soft: rgba(22, 163, 74, 0.07);--mg-green-border: rgba(22, 163, 74, 0.35);--mg-card-bg: #ffffff;--mg-card-border: #e5e7eb;--mg-text: #111827;--mg-text-muted: #6b7280;--mg-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.06);--mg-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 16px 40px rgba(0, 0, 0, 0.12);--mg-green-text: #15803d;--mg-accent: #15803d;--mg-on-accent: #ffffff;--mg-teal: #0f766e;--mg-sky: #0369a1;--mg-badge-shadow: 0 4px 14px rgba(21, 128, 61, 0.28)}.dark{--mg-green: #22c55e;--mg-green-soft: rgba(34, 197, 94, 0.08);--mg-green-border: rgba(34, 197, 94, 0.4);--mg-card-bg: #17191e;--mg-card-border: rgba(255, 255, 255, 0.1);--mg-text: #f3f4f6;--mg-text-muted: #9ca3af;--mg-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);--mg-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.45);--mg-green-text: #4ade80;--mg-accent: #22c55e;--mg-on-accent: #052e16;--mg-teal: #2dd4bf;--mg-sky: #38bdf8;--mg-badge-shadow: 0 4px 14px rgba(34, 197, 94, 0.18)}.mg-hero{position:relative;border:1px solid var(--mg-green-border);background:radial-gradient(ellipse 80% 60% at 50% -10%, var(--mg-green-soft), transparent),\n var(--mg-card-bg);border-radius:16px;padding:2.25rem 1.75rem 2rem;text-align:center;overflow:hidden}.mg-live{display:inline-flex;align-items:center;gap:7px;font-size:0.78rem;font-weight:700;letter-spacing:0.02em;color:var(--mg-green-text);border:1px solid var(--mg-green-border);background:var(--mg-green-soft);border-radius:99px;padding:4px 12px;margin-bottom:14px}.mg-live-dot{width:7px;height:7px;border-radius:50%;background:var(--mg-green);animation:mg-pulse 1.6s ease-in-out infinite}@keyframes mg-pulse{0%,100%{opacity:1}50%{opacity:0.25}}.mg-hero-title{font-size:2rem;font-weight:800;line-height:1.15;margin:0 0 8px;color:var(--mg-text)}.mg-hero-sub{font-size:1.05rem;font-weight:600;color:var(--mg-green-text);margin:0 0 18px}.mg-pills{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.mg-pill{display:inline-flex;align-items:center;gap:7px;font-size:0.78rem;font-weight:600;color:var(--mg-text);padding:7px 14px;border-radius:8px;border:1px solid var(--mg-card-border);background:var(--mg-card-bg)}.mg-hero-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:20px}.mg-hero-footer{justify-content:space-between;align-items:center;gap:12px 20px;margin-top:18px;text-align:left}.mg-hero-note{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:0.85rem;color:var(--mg-text-muted)}@media (max-width: 640px){.mg-hero-footer{flex-direction:column;align-items:stretch}.mg-hero-footer .mg-btn{justify-content:center}}.mg-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 20px;border-radius:99px;font-size:0.85rem;font-weight:600;text-decoration:none;transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease}.mg-btn-primary{background:var(--mg-accent);color:var(--mg-on-accent)!important;border:1px solid transparent}.mg-btn-primary:hover{transform:translateY(-2px);box-shadow:var(--mg-shadow-hover)}.mg-btn-ghost{color:var(--mg-text)!important;border:1px solid var(--mg-card-border);background:var(--mg-card-bg)}.mg-btn-ghost:hover{border-color:var(--mg-green-border);transform:translateY(-2px)}.mg-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:16px 0 4px}.mg-chip{display:inline-block;padding:6px 14px;border-radius:99px;font-size:0.8rem;font-weight:600;text-decoration:none;color:var(--mg-green-text)!important;border:1px solid var(--mg-green-border);background:var(--mg-green-soft);transition:background 0.18s ease, transform 0.18s ease}.mg-chip:hover{background:var(--mg-accent);color:var(--mg-on-accent)!important;transform:translateY(-1px)}.mg-ratelock-title{font-size:1rem;font-weight:700;color:var(--mg-text);margin:0 0 4px}.mg-ratelock-body{font-size:0.88rem;color:var(--mg-text-muted);margin:0;line-height:1.55}.mg-ratelock-body strong{color:var(--mg-text)}.mg-plans{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:12px;margin-top:1.5rem}.mg-plan{position:relative;display:flex;flex-direction:column;gap:5px;justify-content:center;border:1px solid var(--mg-card-border);background:var(--mg-card-bg);border-radius:14px;padding:1.2rem 0.95rem 1rem;text-decoration:none!important;box-shadow:var(--mg-shadow);transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease}.mg-plan:hover{transform:translateY(-5px);box-shadow:var(--mg-shadow-hover);border-color:var(--mg-green-border)}.mg-plan-featured{border:2px solid var(--mg-green);background:radial-gradient(ellipse 90% 70% at 50% 0%, var(--mg-green-soft), transparent),\n var(--mg-card-bg)}.mg-plan-tag{position:absolute;top:-11px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:0.68rem;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;color:var(--mg-on-accent);background:var(--mg-accent);border-radius:99px;padding:3px 12px}.mg-plan-name{font-size:1.05rem;font-weight:700;color:var(--mg-text);margin:0}.mg-plan-price{font-size:1.35rem;font-weight:800;color:var(--mg-text);margin:0;line-height:1.2;white-space:nowrap}.mg-plan-price span{font-size:0.72rem;font-weight:600;color:var(--mg-text-muted)}.mg-plan-desc{font-size:0.74rem;color:var(--mg-text-muted);line-height:1.5;margin:0;flex-grow:1}#content-area table,.prose table{width:100%}#content-area td,#content-area th,.prose td,.prose th{vertical-align:middle;font-variant-numeric:tabular-nums}@media (max-width: 820px){.mg-plans{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (max-width: 640px){.mg-hero{padding:1.6rem 1rem 1.5rem}.mg-hero-title{font-size:1.5rem}.mg-hero-sub{font-size:0.92rem}.mg-btn{padding:9px 16px;font-size:0.8rem}.mg-ratelock{flex-direction:column;align-items:stretch;padding:1rem 1.1rem}.mg-ratelock .mg-btn{justify-content:center}}@media (max-width: 420px){.mg-plans{grid-template-columns:1fr}}.mg-toggle{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--mg-card-border);background:var(--mg-card-bg);border-radius:99px;box-shadow:var(--mg-shadow);margin:0.25rem 0 1.25rem}.mg-toggle-btn{border:none;background:transparent;color:var(--mg-text-muted);font-size:0.85rem;font-weight:600;padding:7px 20px;border-radius:99px;cursor:pointer;transition:background 0.18s ease, color 0.18s ease}.mg-toggle-btn:hover{color:var(--mg-text)}.mg-toggle-active,.mg-toggle-active:hover{background:var(--mg-accent);color:var(--mg-on-accent)!important}.mg-ratelock{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--mg-green-border);border-left:5px solid var(--mg-green);background:linear-gradient(90deg, var(--mg-green-soft), transparent 65%),\n var(--mg-card-bg);border-radius:12px;padding:1.1rem 1.4rem;margin:1.5rem 0}.mg-hero-pro,.mg-pro-card{position:relative;overflow:hidden}.mg-hero-pro>*:not(.mg-wave),.mg-pro-card>*:not(.mg-wave){position:relative;z-index:1}.mg-wave{position:absolute;left:0;right:0;bottom:0;height:90px;display:flex;align-items:flex-end;justify-content:space-between;padding:0 18px;opacity:0.16;pointer-events:none;z-index:0;-webkit-mask-image:linear-gradient(to top, #000 20%, transparent);mask-image:linear-gradient(to top, #000 20%, transparent)}.mg-hero-badges .mg-live{margin-bottom:0;margin-right:8px}.mg-badges-left{justify-content:flex-start}.mg-pro-badge{display:inline-flex;align-items:center;font-size:0.7rem;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:var(--mg-on-accent);padding:5px 12px;border-radius:99px;background:linear-gradient(90deg, var(--mg-accent), var(--mg-teal));box-shadow:var(--mg-badge-shadow)}.mg-free-chip{display:inline-flex;align-items:center;gap:6px;font-size:0.75rem;font-weight:700;color:var(--mg-green-text);padding:4px 12px;border-radius:99px;border:1px solid var(--mg-green-border);background:var(--mg-green-soft)}.mg-gradient-text{background:linear-gradient(90deg, var(--mg-green-text), var(--mg-teal) 55%, var(--mg-sky));-webkit-background-clip:text;background-clip:text;color:transparent}.mg-free-card{max-width:640px;margin:24px auto 0;padding:18px 20px;text-align:left;border-radius:14px;border:1px solid var(--mg-green-border);background:linear-gradient(135deg, var(--mg-green-soft), transparent 70%),\n var(--mg-card-bg);box-shadow:var(--mg-shadow)}.mg-free-head{display:flex;gap:14px;align-items:flex-start}.mg-free-gift{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg, #16a34a, #0d9488)}.mg-free-title{margin:0 0 2px;font-size:1.05rem;font-weight:800;color:var(--mg-text)}.mg-free-sub{margin:0;font-size:0.85rem;color:var(--mg-text-muted)}.mg-stats{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:10px;margin-top:16px}.mg-stat{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 6px;border-radius:10px;border:1px solid var(--mg-card-border);background:var(--mg-card-bg)}.mg-stat-value{font-size:1.45rem;font-weight:800;line-height:1.2;background:linear-gradient(90deg, var(--mg-green-text), var(--mg-teal));-webkit-background-clip:text;background-clip:text;color:transparent}.mg-stat-label{margin-top:2px;font-size:0.72rem;font-weight:600;color:var(--mg-text-muted)}.mg-pro-card{margin:0 0 1.5rem;padding:1.5rem 1.5rem 1.75rem;border-radius:16px;border:1px solid var(--mg-green-border);background:radial-gradient(ellipse 70% 60% at 0% 0%, var(--mg-green-soft), transparent),\n var(--mg-card-bg)}.mg-pro-card-title{margin:0 0 6px;font-size:1.6rem;font-weight:800;line-height:1.2;color:var(--mg-text)}.mg-pro-card-text{margin:0;font-size:0.92rem;line-height:1.6;color:var(--mg-text-muted)}.mg-pro-card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}@media (max-width: 640px){.mg-stats{grid-template-columns:repeat(2, minmax(0, 1fr))}.mg-free-card{padding:16px}.mg-pro-card{padding:1.25rem}.mg-pro-card-title{font-size:1.35rem}}.mg-free-note{margin:0;font-size:0.8rem;line-height:1.6;color:var(--mg-text-muted)}.mg-mini-banner{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0 0;padding:12px 16px;border-radius:12px;border:1px solid var(--mg-green-border);background:linear-gradient(135deg, var(--mg-green-soft), transparent 70%),\n var(--mg-card-bg)}.mg-mini-banner-text{flex:1 1 220px;margin:0;font-size:0.9rem;line-height:1.5;color:var(--mg-text-muted)}.mg-mini-banner-text strong{color:var(--mg-text)}.mg-mini-banner-link{font-size:0.9rem;font-weight:700;white-space:nowrap;color:var(--mg-green-text);text-decoration:none}.mg-mini-banner-link:hover{text-decoration:underline}.mg-pro-card-actions .mg-free-note{flex-basis:100%;margin-top:4px}.mg-free-note a,.mg-free-note a:visited{color:var(--mg-green-text);font-weight:600}.mg-pro-card-text code,.mg-free-sub code,.mg-free-note code{color:var(--mg-text);font-size:0.85em}.mg-btn:focus-visible,.mg-chip:focus-visible,.mg-plan:focus-visible,.mg-ratelock:focus-visible,.mg-mini-banner-link:focus-visible,.mg-toggle-btn:focus-visible{outline:2px solid var(--mg-green-text);outline-offset:2px}@media (prefers-reduced-motion: reduce){.mg-live-dot{animation:none}.mg-btn,.mg-chip,.mg-plan{transition:none}.mg-btn:hover,.mg-chip:hover,.mg-plan:hover{transform:none}}"}]}
{"page":{"pagePath":"api-documentation/conversions/musicaiv2","slug":"/api-documentation/conversions/musicaiv2","pageMetadata":{"title":"Music AI V2","openapi":"POST /v2/MusicAI","description":"Create music powered by AI using just a prompt, lyrics, or a defined music style.","href":"/api-documentation/conversions/musicaiv2"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create music powered by AI using just a prompt, lyrics, or a defined music style.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading,Info,Table,Tip}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Music AI v2`}),` is our most advanced music generation model yet, faster generation, higher-quality audio, sharper prompt understanding, and more creative control than any version before it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choose-your-model`,children:`Choose your model`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`v6`,icon:`music`,href:`/api-documentation/index/pricing`,children:_jsx(_components.p,{children:`Studio-quality tracks in seconds, reliable, fast, and built for everyday creation.`})}),_jsx(Card,{title:`v6-pro`,icon:`tower-broadcast`,href:`/api-documentation/index/pricing`,children:_jsx(_components.p,{children:`Everything in v6, now with real-time streaming so listeners hear the track as it’s composed.`})}),_jsx(Card,{title:`v7`,icon:`wand-magic-sparkles`,href:`/api-documentation/index/pricing`,children:_jsx(_components.p,{children:`Our best-sounding model yet, richer detail, more texture, state-of-the-art quality.`})}),_jsx(Card,{title:`v7-pro`,icon:`crown`,color:`#1a9662`,cta:`Recommended`,arrow:`true`,href:`/api-documentation/index/pricing`,children:_jsx(_components.p,{children:`The full power of v7 with real-time streaming and advanced creative controls. Our flagship.`})})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`New here? Reach for `,_jsx(_components.strong,{children:`v7-pro`}),` for the best quality, or drop to `,_jsx(_components.strong,{children:`v6`}),` for the fastest, most economical generations.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`model-comparison`,children:`Model comparison`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Model`}),_jsx(_components.th,{children:`Audio quality`}),_jsx(_components.th,{children:`Streaming`}),_jsx(_components.th,{children:`Best for`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`v6`})}),_jsx(_components.td,{children:`Very good`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Fast, dependable everyday tracks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`v6-pro`})}),_jsx(_components.td,{children:`Very good`}),_jsx(_components.td,{children:`Real-time`}),_jsx(_components.td,{children:`Live, as-it-generates playback`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`v7`})}),_jsx(_components.td,{children:`Best-in-class`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Highest-quality final renders`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`v7-pro`})}),_jsx(_components.td,{children:`Best-in-class`}),_jsx(_components.td,{children:`Real-time`}),_jsx(_components.td,{children:`Production apps that want everything`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Pass your choice with the `,_jsx(_components.code,{children:`model`}),` parameter (`,_jsx(_components.code,{children:`v6`}),`, `,_jsx(_components.code,{children:`v6-pro`}),`, `,_jsx(_components.code,{children:`v7`}),`, or `,_jsx(_components.code,{children:`v7-pro`}),`). Streaming is available on the `,_jsx(_components.code,{children:`pro`}),` models for paid users. Per-model rates are listed on the `,_jsx(_components.a,{href:`/api-documentation/index/pricing`,children:`Pricing page`}),`.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`If you provide a `,_jsx(_components.code,{children:`voice_id`}),` or set `,_jsx(_components.code,{children:`vocal_only`}),` to true, the request will always use the `,_jsx(_components.code,{children:`v6`}),` model, regardless of the value passed in the `,_jsx(_components.code,{children:`model`}),` parameter.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`key-features`,children:`Key features`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Compose custom songs using your own lyrics and chosen music style`}),`\n`,_jsx(_components.li,{children:`Generate complete tracks from a single prompt, including lyrics, instrumentation, and melody`}),`\n`,_jsx(_components.li,{children:`Apply voice conversion using a custom voice model`}),`\n`,_jsx(_components.li,{children:`Output full tracks, instrumental-only, or vocal-only versions`}),`\n`,_jsxs(_components.li,{children:[`View the live streaming of the song as it generates (`,_jsx(_components.code,{children:`pro`}),` models)`]}),`\n`,_jsx(_components.li,{children:`Asynchronous webhook support for clean integration`}),`\n`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Every request returns `,_jsx(_components.strong,{children:`two distinct versions`}),` of the track, so you always have a creative option to choose from.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v2/MusicAI`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This is the primary endpoint for initiating music generation.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`sample-output`,children:`Sample Output`}),`\n`,_jsx(_components.p,{children:`Listen to a real sample output:`}),`\n`,_jsxs(_components.p,{children:[`Prompt: a song about greenery, nature and forest.\n`,_jsx(`audio`,{controls:`1`,controlslist:`nodownload nofullscreen noremoteplayback`,src:`https://cdn1.musicgpt.com/conversions/api/standard/f6164ad3-ac5d-50a5-a446-2fb882087fd4/f6164ad3-ac5d-50a5-a446-2fb882087fd4.mp3`,children:`Your browser does not support the audio playback.`})]}),`\n`,_jsx(`a`,{href:`https://cdn1.musicgpt.com/conversions/api/standard/f6164ad3-ac5d-50a5-a446-2fb882087fd4/f6164ad3-ac5d-50a5-a446-2fb882087fd4.mp3`,target:`_blank`,children:`Download Audio`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`try-it-yourself`,children:`Try It Yourself`}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.a,{href:`/api-documentation/endpoint/Musicaiv2`,children:`MusicAI Endpoint Explorer`}),` to test your own requests using prompts, lyrics, and more.`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[`Each request returns `,_jsx(_components.strong,{children:`two distinct versions`}),` of the track.`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`prompt`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`A natural language prompt for music generation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Title of the generated music`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`music_style`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Musical style or genre (e.g., Rock, Pop, Lo-fi)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`negative_tags`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`\"\"`}),_jsx(_components.td,{children:`Tags or themes you want to avoid in the song (e.g., “sad”, “slow”)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lyrics`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`\"\"`}),_jsx(_components.td,{children:`Custom lyrics to use in the song`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`make_instrumental`})}),_jsx(_components.td,{children:`Boolean`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`false`}),_jsx(_components.td,{children:`If true, generate instrumental-only audio`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`vocal_only`})}),_jsx(_components.td,{children:`Boolean`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`false`}),_jsx(_components.td,{children:`If true, generate vocals without instruments`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`voice_id`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`\"\"`}),_jsx(_components.td,{children:`Apply voice model for vocal rendering`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`generate_album_cover`})}),_jsx(_components.td,{children:`Boolean`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`false`}),_jsxs(_components.td,{children:[`If `,_jsx(_components.code,{children:`true`}),`, generate an album cover for the generated audio`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lyrics_timestamps`})}),_jsx(_components.td,{children:`Boolean`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`false`}),_jsx(_components.td,{children:`If true, generates lyric timestamps for the output track`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`”v6”`}),_jsxs(_components.td,{children:[`Allowed values: `,_jsx(_components.code,{children:`v6`}),`, `,_jsx(_components.code,{children:`v6-pro`}),`, `,_jsx(_components.code,{children:`v7`}),`, `,_jsx(_components.code,{children:`v7-pro`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webhook_url`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`\"\"`}),_jsx(_components.td,{children:`URL to receive generated results via webhook`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gender`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`\"\"`}),_jsx(_components.td,{children:`Allowed values: male, female, neutral.`})]})]})]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`content-type:`}),` application/json`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`generation-modes`,children:`Generation Modes`}),`\n`,_jsx(Heading,{level:`3`,id:`custom-mode`,children:`Custom Mode`}),`\n`,_jsxs(_components.p,{children:[`Provide your own `,_jsx(_components.code,{children:`lyrics`}),` and use `,_jsx(_components.code,{children:`prompt`}),` to describe the genre, vibe, instrumentation, and context. See the `,_jsx(_components.a,{href:`/api-documentation/utilities/prompt_guideline`,children:`Prompt Guideline`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`prompt-mode`,children:`Prompt Mode`}),`\n`,_jsxs(_components.p,{children:[`Supply only a `,_jsx(_components.code,{children:`prompt`}),` and let the system generate everything: lyrics, style, vocals, and more.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`webhook-delivery`,children:`Webhook Delivery`}),`\n`,_jsxs(_components.p,{children:[`Once the generation is complete, `,_jsx(_components.strong,{children:`webhooks`}),` will be triggered to deliver the following:`]}),`\n`,_jsx(Heading,{level:`4`,id:`standard-requests-non-instrumental-`,children:`Standard Requests (non-instrumental):`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`2 (webhook) x Music conversion details (one per version)`}),`\n`,_jsx(_components.li,{children:`2 (webhook) x Lyrics with timestamp data`}),`\n`,_jsx(_components.li,{children:`2 (webhook) x Streaming URL`}),`\n`,_jsx(_components.li,{children:`1 (webhook) x Album cover image`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`instrumental-only-requests`,children:`Instrumental-only Requests:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`2 (webhook) x Music conversion details (one per version)`}),`\n`,_jsx(_components.li,{children:`2 (webhook) x Streaming URL`}),`\n`,_jsx(_components.li,{children:`1 (webhook) x Album cover image`}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`Webhook responses include detailed metadata including task_id, conversion_id, audio files (conversion_path), lyrics etc.`}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`sample-request-python`,children:`Sample Request (Python)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.musicgpt.com/api/public/v2/MusicAI\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cAPI_KEY>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Create a relaxing lo-fi song for studying\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"lyrics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"It's a brand new day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"negative_tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sad\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"make_instrumental\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`False`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"vocal_only\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`False`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"My Generated Track\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"gender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"female\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"generate_album_cover\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"lyrics_timestamps\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"v7-pro\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/my-webhook\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`sample-response`,children:`Sample Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Message published to queue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"50c04348-7077-5ffd-a407-55f031db20ef\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`154`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_id_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5a2c6385-e2e1-5531-a530-aab3ff040a3c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_id_2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"e3c65d75-d1fd-549c-9e63-4b303a01cd23\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_flagged\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credit_estimate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.06`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`webhook-sample-payload`,children:`Webhook Sample Payload`}),`\n`,_jsx(_components.p,{children:`Music AI Webhook`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Music AI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c287cca4-c03a-5074-b16a-b8da9d6a124c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8725079f-bf68-5098-a6c8-6dcba44dcaa2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn1.musicgpt.com/conversions/api/standard/8725079f-bf68-5098-a6c8-6dcba44dcaa2/8725079f-bf68-5098-a6c8-6dcba44dcaa2.mp3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_path_wav\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn1.musicgpt.com/conversions/api/hq/8725079f-bf68-5098-a6c8-6dcba44dcaa2/8725079f-bf68-5098-a6c8-6dcba44dcaa2.wav\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`155.95`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_flagged\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lyrics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[Verse]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Turn up the sound`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Let the rhythm take control`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Feel every beat`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Moving through my soul`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Lights are shining bright`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`And we lose track of time`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`[Chorus]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Music in the air`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Dancing through the night`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Every beat we share`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Makes everything feel right`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Turn it up again`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Let the whole world sing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"lyrics_timestamped\": \"[{\\\\\"start\\\\\": 9880, \\\\\"end\\\\\": 35120, \\\\\"text\\\\\": \\\\\"[Verse]\\\\\", \\\\\"index\\\\\": 0}, {\\\\\"start\\\\\": 9880, \\\\\"end\\\\\": 10720, \\\\\"text\\\\\": \\\\\"Turn up the sound\\\\\", \\\\\"index\\\\\": 1}, {\\\\\"start\\\\\": 13720, \\\\\"end\\\\\": 15600, \\\\\"text\\\\\": \\\\\"Let the rhythm take control\\\\\", \\\\\"index\\\\\": 2}, {\\\\\"start\\\\\": 19200, \\\\\"end\\\\\": 20400, \\\\\"text\\\\\": \\\\\"Feel every beat\\\\\", \\\\\"index\\\\\": 3}, {\\\\\"start\\\\\": 23480, \\\\\"end\\\\\": 25400, \\\\\"text\\\\\": \\\\\"Moving through my soul\\\\\", \\\\\"index\\\\\": 4}, {\\\\\"start\\\\\": 29520, \\\\\"end\\\\\": 31440, \\\\\"text\\\\\": \\\\\"Lights are shining bright\\\\\", \\\\\"index\\\\\": 5}, {\\\\\"start\\\\\": 33320, \\\\\"end\\\\\": 35120, \\\\\"text\\\\\": \\\\\"And we lose track of time\\\\\", \\\\\"index\\\\\": 6}, {\\\\\"start\\\\\": 39640, \\\\\"end\\\\\": 54320, \\\\\"text\\\\\": \\\\\"[Chorus]\\\\\", \\\\\"index\\\\\": 7}, {\\\\\"start\\\\\": 39640, \\\\\"end\\\\\": 40120, \\\\\"text\\\\\": \\\\\"Music in the air\\\\\", \\\\\"index\\\\\": 8}, {\\\\\"start\\\\\": 41800, \\\\\"end\\\\\": 42560, \\\\\"text\\\\\": \\\\\"Dancing through the night\\\\\", \\\\\"index\\\\\": 9}, {\\\\\"start\\\\\": 44320, \\\\\"end\\\\\": 45280, \\\\\"text\\\\\": \\\\\"Every beat we share\\\\\", \\\\\"index\\\\\": 10}, {\\\\\"start\\\\\": 45600, \\\\\"end\\\\\": 47440, \\\\\"text\\\\\": \\\\\"Makes everything feel right\\\\\", \\\\\"index\\\\\": 11}, {\\\\\"start\\\\\": 49240, \\\\\"end\\\\\": 49920, \\\\\"text\\\\\": \\\\\"Turn it up again\\\\\", \\\\\"index\\\\\": 12}, {\\\\\"start\\\\\": 51720, \\\\\"end\\\\\": 54320, \\\\\"text\\\\\": \\\\\"Let the whole world sing\\\\\", \\\\\"index\\\\\": 13}]\",`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Rhythm Take Control\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"album_cover_path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn1.musicgpt.com/img-gen-pipeline/api/c287cca4-c03a-5074-b16a-b8da9d6a124c.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subtype\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"music_ai\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Audio Streaming Webhook`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Music AI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subtype\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"audio_streaming\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"80659560-54e7-5e59-a0a0-86320e92701b\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10cfbe38-572a-5218-8981-5aa9a73aa8a5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"streaming_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn1.musicgpt.com/streams/22e4efb8-c8e7-42d7-a2f1-b094a9a92d24/index.m3u8\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Album Cover Webhook`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Music AI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5254c422-0fab-53f0-b5e3-36abb69dd111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_paths\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn1.musicgpt.com/img-gen-pipeline/api/5254c422-0fab-53f0-b5e3-36abb69dd111.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"thumbnail_paths\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn1.musicgpt.com/img-gen-pipeline/api/5254c422-0fab-53f0-b5e3-36abb69dd111_thumb.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn1.musicgpt.com/img-gen-pipeline/api/5254c422-0fab-53f0-b5e3-36abb69dd111.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"thumbnail_path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn1.musicgpt.com/img-gen-pipeline/api/5254c422-0fab-53f0-b5e3-36abb69dd111_thumb.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_id_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eba76eae-9c77-5b09-9f2b-96a8bdef0f36\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_id_2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1cf119ce-a78c-500b-ad43-4b1f598507cb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"album_cover_generator_output\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subtype\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"album_cover_generation\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Lyrics Timestamp Webhook`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Music AI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c287cca4-c03a-5074-b16a-b8da9d6a124c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversion_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8725079f-bf68-5098-a6c8-6dcba44dcaa2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subtype\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lyrics_timestamped\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"lyrics_timestamped\": \"[{\\\\\"start\\\\\": 9880, \\\\\"end\\\\\": 35120, \\\\\"text\\\\\": \\\\\"[Verse]\\\\\", \\\\\"index\\\\\": 0}, {\\\\\"start\\\\\": 9880, \\\\\"end\\\\\": 10720, \\\\\"text\\\\\": \\\\\"Turn up the sound\\\\\", \\\\\"index\\\\\": 1}, {\\\\\"start\\\\\": 13720, \\\\\"end\\\\\": 15600, \\\\\"text\\\\\": \\\\\"Let the rhythm take control\\\\\", \\\\\"index\\\\\": 2}, {\\\\\"start\\\\\": 19200, \\\\\"end\\\\\": 20400, \\\\\"text\\\\\": \\\\\"Feel every beat\\\\\", \\\\\"index\\\\\": 3}, {\\\\\"start\\\\\": 23480, \\\\\"end\\\\\": 25400, \\\\\"text\\\\\": \\\\\"Moving through my soul\\\\\", \\\\\"index\\\\\": 4}, {\\\\\"start\\\\\": 29520, \\\\\"end\\\\\": 31440, \\\\\"text\\\\\": \\\\\"Lights are shining bright\\\\\", \\\\\"index\\\\\": 5}, {\\\\\"start\\\\\": 33320, \\\\\"end\\\\\": 35120, \\\\\"text\\\\\": \\\\\"And we lose track of time\\\\\", \\\\\"index\\\\\": 6}, {\\\\\"start\\\\\": 39640, \\\\\"end\\\\\": 54320, \\\\\"text\\\\\": \\\\\"[Chorus]\\\\\", \\\\\"index\\\\\": 7}, {\\\\\"start\\\\\": 39640, \\\\\"end\\\\\": 40120, \\\\\"text\\\\\": \\\\\"Music in the air\\\\\", \\\\\"index\\\\\": 8}, {\\\\\"start\\\\\": 41800, \\\\\"end\\\\\": 42560, \\\\\"text\\\\\": \\\\\"Dancing through the night\\\\\", \\\\\"index\\\\\": 9}, {\\\\\"start\\\\\": 44320, \\\\\"end\\\\\": 45280, \\\\\"text\\\\\": \\\\\"Every beat we share\\\\\", \\\\\"index\\\\\": 10}, {\\\\\"start\\\\\": 45600, \\\\\"end\\\\\": 47440, \\\\\"text\\\\\": \\\\\"Makes everything feel right\\\\\", \\\\\"index\\\\\": 11}, {\\\\\"start\\\\\": 49240, \\\\\"end\\\\\": 49920, \\\\\"text\\\\\": \\\\\"Turn it up again\\\\\", \\\\\"index\\\\\": 12}, {\\\\\"start\\\\\": 51720, \\\\\"end\\\\\": 54320, \\\\\"text\\\\\": \\\\\"Let the whole world sing\\\\\", \\\\\"index\\\\\": 13}]\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[`Note: Each `,_jsx(_components.code,{children:`conversion_id`}),` corresponds to a different variation of the track.`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`payload-and-request-formation`,children:`Payload and Request Formation`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Music AI V2","openapi":"POST /v2/MusicAI","description":"Create music powered by AI using just a prompt, lyrics, or a defined music style.","href":"/api-documentation/conversions/musicaiv2"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Choose your model","slug":"choose-your-model","depth":2,"children":[{"title":"Model comparison","slug":"model-comparison","depth":3,"children":[]},{"title":"Key features","slug":"key-features","depth":3,"children":[]}]},{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Sample Output","slug":"sample-output","depth":2,"children":[]},{"title":"Try It Yourself","slug":"try-it-yourself","depth":2,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[]},{"title":"Generation Modes","slug":"generation-modes","depth":2,"children":[{"title":"Custom Mode","slug":"custom-mode","depth":3,"children":[]},{"title":"Prompt Mode","slug":"prompt-mode","depth":3,"children":[]}]},{"title":"Webhook Delivery","slug":"webhook-delivery","depth":2,"children":[{"title":"Standard Requests (non-instrumental):","slug":"standard-requests-non-instrumental-","depth":4,"children":[]},{"title":"Instrumental-only Requests:","slug":"instrumental-only-requests","depth":4,"children":[]}]},{"title":"Sample Request (Python)","slug":"sample-request-python","depth":2,"children":[]},{"title":"Sample Response","slug":"sample-response","depth":2,"children":[]},{"title":"Webhook Sample Payload","slug":"webhook-sample-payload","depth":2,"children":[]},{"title":"Payload and Request Formation","slug":"payload-and-request-formation","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Generate Custom Music","description":"Create music powered by AI using just a prompt, lyrics, or a defined music style.","requestBody":"ca047be8-2fc8-4bc7-84c7-3c006164bd9a","responses":{"200":"f299255d-f0b8-4975-b068-b878f7d036bd","402":"91b25a6e-dcb8-45bc-89ac-160e3a3a83d0","422":"983c3620-f5ac-4f64-bdde-cc8fce9e1ca3","500":"fafff244-845e-430b-8386-7d8983352d73"},"security":["c2b12723-3870-4f29-b1c5-7cfd132c9678"],"method":"post","type":"path","servers":["a8a2155a-05f2-444c-87b4-e45265a7cdd7"],"path":"/v2/MusicAI","baseUrlOptions":["https://api.musicgpt.com/api/public"],"title":"Generate Custom Music","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","description":"A natural language prompt for music generation. Keep it under 1000 characters. Be clear and descriptive for better results.","example":"A happy, upbeat song about summer","uniqueKey":"prompt","typeLabel":"string"},"music_style":{"type":"string","description":"Style of music to generate (e.g., Rock, Pop)","uniqueKey":"music_style","typeLabel":"string"},"negative_tags":{"type":"string","description":"Tags or themes you want to avoid in the song (e.g., sad, slow)","uniqueKey":"negative_tags","typeLabel":"string"},"lyrics":{"type":"string","description":"Custom lyrics for the generated music","uniqueKey":"lyrics","typeLabel":"string"},"make_instrumental":{"type":"boolean","description":"Whether to make the music instrumental","default":false,"uniqueKey":"make_instrumental","typeLabel":"boolean"},"vocal_only":{"type":"boolean","description":"Whether to generate only vocals of output audio","default":false,"uniqueKey":"vocal_only","typeLabel":"boolean"},"title":{"type":"string","description":"Title of the generated music track","example":"My Generated Track","uniqueKey":"title","typeLabel":"string"},"gender":{"type":"string","description":"Gender of the voice model","example":"","uniqueKey":"gender","typeLabel":"string"},"voice_id":{"type":"string","description":"Voice model to convert generated audio","example":"","uniqueKey":"voice_id","typeLabel":"string"},"generate_album_cover":{"type":"boolean","description":"Whether to generate an album cover for the generated audio","default":false,"uniqueKey":"generate_album_cover","typeLabel":"boolean"},"lyrics_timestamps":{"type":"boolean","description":"Whether to generate timestamps for the lyrics","default":false,"uniqueKey":"lyrics_timestamps","typeLabel":"boolean"},"model":{"type":"string","description":"Model version to use for generation","example":"v7","enum":["v6","v6-pro","v7","v7-pro"],"uniqueKey":"model","typeLabel":"enum\u003cstring>"},"webhook_url":{"type":"string","description":"URL for callback upon completion","example":"https://example.com/my-webhook","uniqueKey":"webhook_url","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"prompt":"A happy, upbeat song about summer","music_style":"\u003cstring>","negative_tags":"\u003cstring>","lyrics":"\u003cstring>","make_instrumental":false,"vocal_only":false,"title":"My Generated Track","gender":"","voice_id":"","generate_album_cover":false,"lyrics_timestamps":false,"model":"v7","webhook_url":"https://example.com/my-webhook"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f299255d-f0b8-4975-b068-b878f7d036bd":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"task_id":{"type":"string","uniqueKey":"task_id","typeLabel":"string"},"conversion_id_1":{"type":"string","uniqueKey":"conversion_id_1","typeLabel":"string"},"conversion_id_2":{"type":"string","uniqueKey":"conversion_id_2","typeLabel":"string"},"eta":{"type":"integer","uniqueKey":"eta","typeLabel":"integer"},"is_flagged":{"type":"boolean","uniqueKey":"is_flagged","typeLabel":"boolean"},"reason":{"type":"string","uniqueKey":"reason","typeLabel":"string"},"credit_estimate":{"type":"number","uniqueKey":"credit_estimate","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"message":"Message published to queue","task_id":"50c04348-7077-5ffd-a407-55f031db20ef","eta":154,"conversion_id_1":"5a2c6385-e2e1-5531-a530-aab3ff040a3c","conversion_id_2":"e3c65d75-d1fd-549c-9e63-4b303a01cd23","is_flagged":false,"reason":"","credit_estimate":0.06},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"Message published to queue","task_id":"50c04348-7077-5ffd-a407-55f031db20ef","eta":154,"conversion_id_1":"5a2c6385-e2e1-5531-a530-aab3ff040a3c","conversion_id_2":"e3c65d75-d1fd-549c-9e63-4b303a01cd23","is_flagged":false,"reason":"","credit_estimate":0.06}}},"exampleType":"examples"}},"exampleType":"examples"},"91b25a6e-dcb8-45bc-89ac-160e3a3a83d0":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"error_code":{"type":"string","uniqueKey":"error_code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error_code":"INSUFFICIENT_CREDITS","message":""},"examples":{"Example":{"title":"Example","value":{"success":false,"error_code":"INSUFFICIENT_CREDITS","message":""}}},"exampleType":"examples"}},"exampleType":"examples"},"983c3620-f5ac-4f64-bdde-cc8fce9e1ca3":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"error_code":{"type":"string","uniqueKey":"error_code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error_code":"UNPROCESSABLE_CONTENT","message":""},"examples":{"Example":{"title":"Example","value":{"success":false,"error_code":"UNPROCESSABLE_CONTENT","message":""}}},"exampleType":"examples"}},"exampleType":"examples"},"fafff244-845e-430b-8386-7d8983352d73":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"error_code":{"type":"string","uniqueKey":"error_code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error_code":"INTERNAL_SERVER_ERROR","message":""},"examples":{"Example":{"title":"Example","value":{"success":false,"error_code":"INTERNAL_SERVER_ERROR","message":""}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"c2b12723-3870-4f29-b1c5-7cfd132c9678":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"a8a2155a-05f2-444c-87b4-e45265a7cdd7":{"url":"https://api.musicgpt.com/api/public","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Authorization","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-documentation/openapi.json"},"subdomain":"musicgpt","siteName":"MusicGPT API Documentation","title":"Music AI V2 - MusicGPT API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T15:31:16.271Z","originalFileLocation":"api-documentation/conversions/musicaiv2.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create music powered by AI using just a prompt, lyrics, or a defined music style.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MusicGPT API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Music AI V2 - MusicGPT API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create music powered by AI using just a prompt, lyrics, or a defined music style.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MusicGPT API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://musicgpt.mintlify.site/_mintlify/api/og/v2?division=Features\u0026amp;title=Music+AI+V2\u0026amp;description=Create+music+powered+by+AI+using+just+a+prompt%2C+lyrics%2C+or+a+defined+music+style.\u0026amp;theme=bda912dc067bcc52a39fec6a\u0026amp;signature=be2988ec8894942e10e6e4dff40a6c6539cf676d913ee20aebe67171a748b1d3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Music AI V2 - MusicGPT API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create music powered by AI using just a prompt, lyrics, or a defined music style.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://musicgpt.mintlify.site/_mintlify/api/og/v2?division=Features\u0026amp;title=Music+AI+V2\u0026amp;description=Create+music+powered+by+AI+using+just+a+prompt%2C+lyrics%2C+or+a+defined+music+style.\u0026amp;theme=bda912dc067bcc52a39fec6a\u0026amp;signature=be2988ec8894942e10e6e4dff40a6c6539cf676d913ee20aebe67171a748b1d3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/musicgpt/VQ5E-9u8IrmwR-X5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MusicGPT API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-documentation/conversions/musicaiv2.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.musicgpt.com/#organization\",\"name\":\"MusicGPT API Documentation\",\"url\":\"https://docs.musicgpt.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://lalals.s3.us-east-1.amazonaws.com/ApiDocumentationFiles/MusicGPT+Logo+Black.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.musicgpt.com#website\",\"name\":\"MusicGPT API Documentation\",\"url\":\"https://docs.musicgpt.com\",\"publisher\":{\"@id\":\"https://docs.musicgpt.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2#webpage\",\"url\":\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2\",\"name\":\"Music AI V2\",\"description\":\"Create music powered by AI using just a prompt, lyrics, or a defined music style.\",\"dateModified\":\"2026-10-31T15:31:16.271Z\",\"isPartOf\":{\"@id\":\"https://docs.musicgpt.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"MusicGPT API Documentation\",\"item\":\"https://docs.musicgpt.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Music AI V2\",\"item\":\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2#apireference\",\"headline\":\"Music AI V2\",\"name\":\"Music AI V2\",\"description\":\"Create music powered by AI using just a prompt, lyrics, or a defined music style.\",\"url\":\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2\",\"mainEntityOfPage\":{\"@id\":\"https://docs.musicgpt.com/api-documentation/conversions/musicaiv2#webpage\"},\"dateModified\":\"2026-10-31T15:31:16.271Z\",\"publisher\":{\"@id\":\"https://docs.musicgpt.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.musicgpt.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MusicGPT API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MusicGPT API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-documentation/conversions/musicaiv2.md","siteName":"MusicGPT API Documentation","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.musicgpt.com"}]},"tabs":[{"tab":"API Documentation","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-documentation/index/introduction"},{"title":"Free stem presets guide","sidebarTitle":"Free stem presets","href":"/api-documentation/conversions/extraction-free-stems-guide"},{"title":"Create an API Account","href":"/api-documentation/index/createapiaccount"},{"title":"Keys to the Castle","href":"/api-documentation/index/keystocastle"},{"title":"The First Time","href":"/api-documentation/index/yourfirstrequest"},{"title":null,"href":"/api-documentation/index/FAQs"}]},{"group":"Utilities","pages":[{"title":"Authentication","href":"/api-documentation/index/authentication"},{"title":"Pricing Plans","href":"/api-documentation/index/pricing"},{"title":"Status Check","href":"/api-documentation/index/statuscheck"},{"title":"Webhook Integration","href":"/api-documentation/index/webhook"},{"title":null,"href":"/api-documentation/index/changelog"}]},{"group":"Resources","pages":[{"title":"SDK and Tools","href":"/api-documentation/index/sdk"}]},{"group":"Keep in mind","pages":[{"title":"Handling Errors","href":"/api-documentation/utilities/error"},{"title":"Prompt Guidelines","href":"/api-documentation/utilities/prompt_guideline"},{"title":null,"href":"/api-documentation/utilities/ratelimits"},{"title":"Final Notes","description":null,"href":"/api-documentation/utilities/finalnotes"}]},{"group":"Features","pages":[{"title":"Music AI V2","openapi":"POST /v2/MusicAI","href":"/api-documentation/conversions/musicaiv2"},{"title":"Music AI","openapi":"POST /v1/MusicAI","description":"Create music powered by AI using just a prompt, lyrics, or a defined music style.","href":"/api-documentation/conversions/musicai"},{"title":"Remix","openapi":"POST /v1/Remix","href":"/api-documentation/conversions/remix"},{"title":"Inpaint","openapi":"POST /v1/inpaint","href":"/api-documentation/conversions/inpaint"},{"title":"Extend","openapi":"POST /v1/extend","href":"/api-documentation/conversions/extend"},{"title":"Text To Speech","openapi":"POST /v1/TextToSpeech","href":"/api-documentation/conversions/texttospeech"},{"title":"Sound Generator","openapi":"POST /v1/sound_generator","href":"/api-documentation/conversions/soundgenerator"},{"title":"Extraction","openapi":"POST /v2/Extraction","href":"/api-documentation/conversions/extraction"},{"title":"Voice Changer","openapi":"POST /v1/VoiceChanger","href":"/api-documentation/conversions/voicechanger"},{"title":"Sing Over Instrumental","openapi":"POST /v1/sing_over_instrumental","href":"/api-documentation/conversions/sing_over_instrumental"},{"title":"Lyrics Generator","openapi":"GET /v1/prompt_to_lyrics","href":"/api-documentation/conversions/lyrics_generator"},{"title":"Audio to MIDI","openapi":"POST /v1/audio_to_midi","href":"/api-documentation/conversions/audiotomidi"},{"title":"Audio Cutter","openapi":"POST /v1/audio_cutter","href":"/api-documentation/conversions/audiocutter"},{"title":"Audio Speed Changer","openapi":"POST /v1/audio_speed_changer","href":"/api-documentation/conversions/audiospeedchanger"},{"title":"Audio Transcribe","openapi":"POST /v1/audio_transcribe","href":"/api-documentation/conversions/audiotranscription"},{"title":"Cover Song","openapi":"POST /v1/Cover","href":"/api-documentation/conversions/cover"},{"title":"Deecho","openapi":"POST /v1/deecho","href":"/api-documentation/conversions/deecho"},{"title":"Denoise","openapi":"POST /v1/denoise","href":"/api-documentation/conversions/denoise"},{"title":"Dereverb","openapi":"POST /v1/dereverb","href":"/api-documentation/conversions/dereverb"},{"title":"Key \u0026 BPM Extraction","openapi":"POST /v1/extract_key_bpm","href":"/api-documentation/conversions/extractkeybpm"},{"title":"File Conversion","openapi":"POST /v1/file_convert","href":"/api-documentation/conversions/fileconvert"},{"title":"Audio Mastering","openapi":"POST /v1/audio_mastering","href":"/api-documentation/conversions/audiomastering"},{"title":"Image to Song","openapi":"POST /v1/image_to_song","href":"/api-documentation/conversions/imagetosong"}]},{"group":"Sample Request Endpoints","pages":[{"title":"Sample Conversion Request","openapi":"POST /v2/MusicAI","href":"/api-documentation/sample-post-request"},{"title":"Sample Helper Request","openapi":"GET /v1/byId","href":"/api-documentation/sample-get-request"}]},{"group":"Helper Endpoints","pages":[{"title":"Get Conversion Details By ID","openapi":"GET /v1/byId","href":"/api-documentation/endpoint/getById"},{"title":"Get Voices by Name","openapi":"GET /v1/searchVoices","href":"/api-documentation/endpoint/searchVoices"},{"title":"Get All Voices","openapi":"GET /v1/getAllVoices","href":"/api-documentation/endpoint/getAllVoices"}]},{"group":"Conversion Endpoints","pages":[{"title":"MUSIC AI V2","openapi":"POST /v2/MusicAI","href":"/api-documentation/endpoint/Musicaiv2"},{"title":"MUSIC AI","openapi":"POST /v1/MusicAI","href":"/api-documentation/endpoint/MusicAI"},{"title":"Cover","openapi":"POST /v1/Cover","href":"/api-documentation/endpoint/cover"},{"title":"Voice Changer","openapi":"POST /v1/VoiceChanger","href":"/api-documentation/endpoint/voicetovoice"},{"title":"Text To Speech","openapi":"POST /v1/TextToSpeech","href":"/api-documentation/endpoint/TextToSpeech"},{"title":"Extraction","openapi":"POST /v2/Extraction","href":"/api-documentation/endpoint/extraction"},{"title":"Sound Generator","openapi":"POST /v1/sound_generator","href":"/api-documentation/endpoint/soundgenerator"},{"title":"DeNoise","openapi":"POST /v1/denoise","href":"/api-documentation/endpoint/denoise"},{"title":"DeEcho","openapi":"POST /v1/deecho","href":"/api-documentation/endpoint/deecho"},{"title":"DeReverb","openapi":"POST /v1/dereverb","href":"/api-documentation/endpoint/dereverb"},{"title":"File Conversion","openapi":"POST /v1/file_convert","href":"/api-documentation/endpoint/fileconvert"},{"title":"Audio Transcribe","openapi":"POST /v1/audio_transcribe","href":"/api-documentation/endpoint/audiotranscribe"},{"title":"Extract Key BPM","openapi":"POST /v1/extract_key_bpm","href":"/api-documentation/endpoint/extract_key_bpm"},{"title":"Audio To MIDI","openapi":"POST /v1/audio_to_midi","href":"/api-documentation/endpoint/audio_to_midi"},{"title":"Audio Cutter","openapi":"POST /v1/audio_cutter","href":"/api-documentation/endpoint/audio_cutter"},{"title":"Audio Speed Changer","openapi":"POST /v1/audio_speed_changer","href":"/api-documentation/endpoint/audio_speed_changer"},{"title":"Audio Mastering","openapi":"POST /v1/audio_mastering","href":"/api-documentation/endpoint/audio_mastering"},{"title":"Remix","openapi":"POST /v1/Remix","href":"/api-documentation/endpoint/remix"},{"title":"Extend","openapi":"POST /v1/extend","href":"/api-documentation/endpoint/extend"},{"title":"Inpaint","openapi":"POST /v1/inpaint","href":"/api-documentation/endpoint/inpaint"},{"title":"Sing Over Instrumental","openapi":"POST /v1/sing_over_instrumental","href":"/api-documentation/endpoint/sing_over_instrumental"},{"title":"Lyrics Generator","openapi":"GET /v1/prompt_to_lyrics","href":"/api-documentation/endpoint/lyrics_generator"},{"title":"Image to Song","openapi":"POST /v1/image_to_song","href":"/api-documentation/endpoint/imagetosong"}]}]}]},"basePath":"","title":"Music AI V2 - MusicGPT API Documentation","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}