Skip to main content
Suno is an AI music company based in Cambridge, Massachusetts, building a future where anyone can make music. From a one-line description or a set of lyrics, Suno’s models create songs with vocals, instrumentation and a full song structure across pop, rock, electronic, folk, classical, hip-hop and many other styles, and can also make instrumentals. On DreamTo, Suno song generation, extension, covers, section replacement, added vocals / instrumentals, vocal and instrument stems, MIDI, WAV conversion, lyrics and timestamped lyrics, music videos, Personas and custom voices are offered through one asynchronous task API.

Model versions

Endpoints that take a model version set it in input.model. The three V6 versions are available; the discontinued V4–V5_5 are no longer supported:

Endpoints

Each endpoint is one model value; all of them create tasks with POST /api/v1/jobs/createTask and return results through GET /api/v1/jobs/recordInfo.

Songs

WAV conversion

Music video

Lyrics

Custom voice

Stems and MIDI

Sound effects

Speech

Task flow

  1. Create the task: POST https://api.dreamto.ai/api/v1/jobs/createTask with {"model": "ai-music-api/<endpoint>", "callBackUrl": "...", "input": {...}}; it returns data.taskId.
  2. Get the result: call GET https://api.dreamto.ai/api/v1/jobs/recordInfo?taskId=<taskId> about every 10 seconds. When data.state becomes success, read the result from data.response; when it becomes fail, data.failCode / data.failMsg give the reason.
  3. Or receive a callback: pass callBackUrl when creating the task and DreamTo POSTs the result there once the task finishes, with no polling.
Every response has HTTP status 200; check code in the body. Send the API Key in the Authorization: Bearer header.

Chaining tasks

Extension, covers, section replacement, stem separation, WAV conversion, music videos, timestamped lyrics and other endpoints work on a song generated before: set input.task_id to the taskId of that task and input.audio_id to the response.data[].id of one of its songs (a generation usually returns two). The source task must be a Suno task of this account that succeeded on DreamTo within the last 14 days and be a kind of task the endpoint accepts; otherwise code: 422 is returned and no task is created or charged. Suno IDs such as audio_id are used as they are.

Result files

Audio, cover image, video, MIDI and other file links in a result are DreamTo download links (https://api.dreamto.ai/v1/tasks/{task_id}/artifacts/...) that work without an API Key and support Range requests; querying a task again returns the same links. Files are kept for 14 days after the task is created; after that the links expire and the task can no longer be the source of a chained task, so download the files promptly.

Callbacks

Pass callBackUrl when creating a task and DreamTo POSTs the result there once the task succeeds or fails, in the format given under Task callback of each endpoint (once, when the task finishes; no intermediate-stage callbacks are sent), signed with the X-DreamTo-Signature header. Answer with any 2xx; on a timeout (10 seconds) or another status it is retried after 1, 5 and 30 minutes, at most 4 deliveries.

Pricing

Billed per request: each succeeded task is charged once at the endpoint’s model price shown in the console. Invalid requests, unusable source tasks and failed tasks are not charged.