- Run an AI Music Generator task.
AI tasks are asynchronous. Prefer webhook-based completion handling when the feature supports webhooks. Configure your webhook endpoint, verify webhook signatures, and use the received task_id to query the task result after a success or error notification. See the webhook integration guide for setup and verification details.
If webhooks are not supported or cannot be used in your integration, implement polling. After submitting an AI task, poll the status endpoint at regular intervals (e.g., every 10 seconds) until the task status is success or error.
Theme of the song. Required when instrumental is true. For a song with vocals, provide idea, lyrics, or both. To ask for lyrics in a specific language, say so here (e.g. "with Japanese lyrics").
Lyrics of the song. Section tags such as [intro], [verse], [chorus] and [outro] are supported. Supported lyrics languages: English, Japanese, Korean, Portuguese, Spanish, German, French, Italian, Traditional Chinese, Simplified Chinese, Hindi, Turkish.
- https://yce-api-01.makeupar.comhttps://yce-api-01.makeupar.com/s2s/v2.0/task/ai-song
curl -i -X POST \
https://yce-api-01.makeupar.com/s2s/v2.0/task/ai-song \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"idea": "A song about a small café that stays open late for people who can'\''t sleep",
"lyrics": "[verse]\nTwo a.m., the neon hums\nSteam on the glass, the night still runs\n\n[chorus]\nLeave the light on, leave the light on\nFor the ones who don'\''t go home",
"music_style": {
"genre": "Acoustic Pop",
"mood": "Calm, hopeful",
"vocal": "female",
"description": "soft piano, brushed drums"
},
"instrumental": false
}'{ "status": 200, "data": { "task_id": "grH0CvsgXuAIHLUzD0V1Ol34hoet3R1tvdbtiVHrDb6_UqCLKIejAIajwxrhOAfe" } }