Source: https://ailoot.ai/models/en/suno-api/
Canonical: https://ailoot.ai/models/en/suno-api/
Language: en

# suno-api

[Markdown](https://ailoot.ai/models/en/suno-api/index.md) · [JSON](https://ailoot.ai/models/en/suno-api/facts.json)

## [suno-api](https://ailoot.ai/models/en/suno-api/)

Suno creates music from a short written idea. The documented automatic workflow produces two songs and includes an instrumental choice, with completed audio and track metadata returned through the generation task.

- [**Ailoot Ultra · Music** `POST /v1/music/generations` `suno-api`](https://ailoot.ai/models/en/suno-api/#method-0)

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

Suno is a music-generation service that turns a written idea into songs. The documented automatic workflow accepts a short description of the intended music and an instrumental choice, then generates two songs. Use the brief to establish the theme, mood and musical direction you want to hear in the completed tracks.

Start with the role the music should play. A calm background for an explanation, an energetic opening for a short video or a reflective song about a journey each gives the brief a concrete purpose. Describe the intended mood and the musical features that matter to that purpose in a few clear phrases.

For a song with vocals, make the theme and language clear in the creative brief. Describe the idea the track should express and the tone the performance should convey. Listen to the completed result for how the vocal, words and arrangement work together. Retain the generated track information alongside the audio for review.

For an instrumental result, use the documented instrumental selection and describe the musical direction in the text. State the desired atmosphere and prominent instruments when those matter to the project. Review the finished track for the place it will occupy in the edit, including the sections that need to sit beneath speech or support a visual transition.

The automatic workflow produces two songs from the submitted idea. Treat them as distinct candidates and preserve both completed audio files. Listen to each through its opening, development and ending. Compare the actual tracks against the same purpose, including their mood, arrangement and suitability for the planned use.

Generation is organized as a task. Keep the returned task ID while checking its result and distinguish completed tracks from items still in progress. The documented result includes track-level information such as title, status, audio location and duration. Save the finished audio itself with the available metadata and the original brief.

For a video or presentation, audition the selected music against the real material. Check the opening, transitions and ending at the intended listening level. Mark the section that serves the edit and retain the full track for later changes. A suitable music excerpt is judged in context with the voice, images and pacing of the finished piece.

Keep the written idea, instrumental selection, model selection and all completed tracks together. When a candidate needs revision, identify the musical mismatch, such as an arrangement that is too dense beneath speech or an opening that develops too slowly. Preserve the useful direction and revise the part of the brief connected to that issue.

**Ailoot Ultra · Music** `POST /v1/music/generations` `suno-api`

[`suno-api`](https://ailoot.ai/models/en/#m=suno-api&route=Ultra&caller=suno-api&fmt=music)

Suno /`suno-api`

### Overview

Suno creates music from a short written idea. The documented automatic workflow produces two songs and includes an instrumental choice, with completed audio and track metadata returned through the generation task.

Accepted inputs

Text

Results

Audio · Images · Video

### Available in Ailoot · inputs & methods

**Ailoot Ultra · Music** `POST /v1/music/generations`

Input types

`text`

Output types

`audio`, `image`, `video`

| Field | Type | Requirement | Values & limits | Default |
| --- | --- | --- | --- | --- |
| Field`model` | Type`string` | RequirementRequired | Values & limits suno-api Conditions: Use this exact Ailoot routing selector. | Default— |
| Field`gpt_description_prompt` | Type`string` | RequirementRequired | Values & limits Conditions: Describe the musical idea or song theme. | Default— |
| Field`mv` | Type`string` | RequirementRequired | Values & limits chirp-fenix, chirp-crow, chirp-bluejay, chirp-auk, chirp-v4, chirp-v3-5 Conditions: Select an explicit documented Suno version; example uses chirp-crow (v5). | Default— |
| Field`make_instrumental` | Type`boolean` | RequirementRequired | Values & limits Conditions: Set true for instrumental music or false for a song. | Default— |

Method parameters and lifecycle

| Parameter | Contract |
| --- | --- |
| Parameter`content_type` | Contractapplication/json |
| Parameter`required` | Contractmodel, gpt\_description\_prompt, mv, make\_instrumental |
| Parameter`optional` | Contract |
| Parameter`material_types` | Contracttext |
| Parameter`conditions` | ContractUse this exact Ailoot routing selector., Describe the musical idea or song theme., Select an explicit documented Suno version; example uses chirp-crow (v5)., Set true for instrumental music or false for a song. |

Lifecycle: `submit_once_poll_original`

`GET /v1/music/generations/{request_id}`

`GET /v1/media/assets`

`GET /v1/media/assets/{asset_id}`

### Pricing

##### How the final charge is calculated

The displayed rates estimate the cost before generation. The final charge is calculated from the cost recorded for the original generation. Measured output duration and forecast quantities are not the final billable quantity.

Tariff references do not add request options. Supported parameters are listed for the selected method.

Fast mode

Not specified When fast mode is selected

Flex mode

Not specified When flex mode is selected

Maximum reasoning effort

Not specified When maximum reasoning effort uses the default adjustment

#### Estimated rates for comparison

#### Prices by configuration

Match each charge to the conditions shown. Use one rate for each set of alternative configurations.

| Configuration | Rate schedule | Forecast quantity | Billing quantity | Charge |
| --- | --- | --- | --- | --- |
| ConfigurationBase token rates | Rate scheduleBase rate | Forecast quantity— | Billing quantity— | Charge Input · Input tokens · Estimate for comparison only **—** / 1K tokens Output · Output tokens · Estimate for comparison only **—** / 1K tokens Input · Cache read · Estimate for comparison only **—** / 1K tokens Input · Cache write · Estimate for comparison only **—** / 1K tokens Input · Cache write, 1 hour · Estimate for comparison only **—** / 1K tokens |
| ConfigurationPer request | Rate schedule— | Forecast quantity— | Billing quantityone request | Charge Input · Estimate for comparison only **$0.2** per request |
| ConfigurationEstimated generation cost | Rate schedule— | Forecast quantityone generation estimate | Billing quantity— | Charge Output · Estimated generation cost · Estimate for comparison only **$0.2** estimate before generation This estimate is not an additional charge or a fixed rate for the completed generation. |

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. [How reservation and settlement work →](https://ailoot.ai/docs/en/billing/reserve/)

### Example requests

#### Ailoot Ultra · Music

curl · create once and retain receiptRead the original taskSave every completed owned asset

```bash
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
cat > request.json <<'JSON'
{
  "model": "suno-api",
  "gpt_description_prompt": "古诗词",
  "mv": "chirp-crow",
  "make_instrumental": false
}
JSON
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/music/generations \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
# Create once; retain id, polling_url, original task identifiers and every header.
```

```bash
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_STATUS'
import json,os,subprocess
from pathlib import Path
from urllib.parse import urljoin,urlsplit
r=json.loads(Path("result.json").read_text())
u=urljoin("https://api.ailoot.ai",r["polling_url"])
p=urlsplit(u)
if p.scheme!="https" or p.netloc!="api.ailoot.ai" or p.username or p.password:
    raise SystemExit("Unexpected returned polling URL; preserve the response")
subprocess.run(["curl","--fail-with-body","--silent","--show-error",u,"-H","Authorization: Bearer "+os.environ["AILOOT_API_KEY"],"-D","status-headers.txt","-o","status.json"],check=True)
# Read this same original polling_url again while pending.
# Preserve unknown/result_pending_check; do not repeat creation.
PY_STATUS
```

```bash
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_ASSETS'
import json,os,subprocess
from pathlib import Path
from urllib.parse import urljoin,urlsplit
r=json.loads(Path("status.json").read_text())
roles={}
def visit(v,path=""):
    if isinstance(v,dict):
        for k,x in v.items(): visit(x,path+"/"+k)
    elif isinstance(v,list):
        for i,x in enumerate(v): visit(x,path+"/"+str(i))
    elif isinstance(v,str):
        u=urljoin("https://api.ailoot.ai",v); p=urlsplit(u)
        if p.scheme=="https" and p.netloc=="api.ailoot.ai" and not p.username and not p.password and p.path.startswith("/v1/media/assets/") and p.path.endswith("/content"):
            roles.setdefault(u,[]).append(path)
visit(r)
if not roles: raise SystemExit("No completed owned assets; retain the original status")
manifest=[]
for i,(u,paths) in enumerate(roles.items()):
    target=Path(f"asset-{i}.bin")
    subprocess.run(["curl","--fail-with-body","--silent","--show-error",u,"-H","Authorization: Bearer "+os.environ["AILOOT_API_KEY"],"-o",str(target)],check=True)
    raw=target.read_bytes()
    if not raw: raise SystemExit("Empty asset; retain original status and metadata")
    ext="glb" if raw[:4]==b"glTF" else "png" if raw[:8]==b"\x89PNG\r\n\x1a\n" else "jpg" if raw[:3]==b"\xff\xd8\xff" else "webp" if raw[:4]==b"RIFF" and raw[8:12]==b"WEBP" else "mp4" if raw[4:8]==b"ftyp" else "bin"
    name=f"asset-{i}.{ext}"
    if target.name!=name: target.rename(name)
    manifest.append({"file":name,"response_paths":paths,"bytes":len(raw)})
Path("asset-manifest.json").write_text(json.dumps(manifest,indent=2))
print("Saved",len(manifest),"unique owned assets; every response role retained")
PY_ASSETS
```

### Receive and save results

#### Ailoot Ultra · Music

Download each returned image or save its Base64 contents

- `GET /v1/music/generations/{request_id}`
- `GET /v1/media/assets`
- `GET /v1/media/assets/{asset_id}`

##### Keep all completed results

Keep every complete returned response, file and content part.

Retain the complete response and headers, original identifiers, every actual output and all usage/accounting fields. Save each unique owned asset and retain every role pointing to it.

##### If the original response needs checking

Keep the returned public task or operation id and all headers. Read only the original task; unknown or result\_pending\_check does not authorize another creation.

Response fields

| Field | Type |
| --- | --- |
| Field`id` | Typestring |
| Field`polling_url` | Typestring |
| Field`provider_task_id` | Typestring |
| Field`data.task_id` | Typestring |
| Field`data.status` | Typestring |
| Field`data.data[].audio_url` | Typestring |
| Field`data.data[].image_url` | Typestring |
| Field`data.data[].image_large_url` | Typestring |
| Field`data.data[].video_url` | Typestring |

### Aliases

#### Model aliases

**Ailoot Ultra** [`suno-api`](https://ailoot.ai/models/en/#m=suno-api&route=Ultra&caller=suno-api&fmt=music)

#### Method path aliases

Use the method paths shown above.

#### Related caller IDs

[`suno-api`](https://ailoot.ai/models/en/#m=suno-api&route=Ultra&caller=suno-api&fmt=music)

FAQ · suno-api

What inputs and results are available?

`POST /v1/music/generations` · `suno-api`: `text` → `audio`, `image`, `video`

Which fields does the request use?

`POST /v1/music/generations` · `suno-api`: `model`, `gpt_description_prompt`, `mv`, `make_instrumental`

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

## The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

## Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription

Choose a discounted plan for your regular requests.

Promo code: up to 50% off

Enter your code at checkout. The price updates to reflect the current promotion.

Spending in your history

The model, tokens and amount are recorded for each request.

[Choose a subscription](https://ailoot.ai/docs/en/billing/subscriptions/) · [View model prices](https://ailoot.ai/models/en/)

## Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application

Add text, image, video and audio generation to paid features in your service.

Reseller licence

Send a description of your project and how you provide access. Request written terms for use and resale.

Documents on the website

The service offer, licence agreement and data processing policy are available before you connect.

[Request a reseller licence](mailto:support@ailoot.ai) · [Service offer and licence agreement](https://ailoot.ai/legal/offer?lang=en)

## Ailoot · The company and its project portfolio





Ailoot combines established operating experience, a large client base, stable service and ongoing KPI control.





The company and its project portfolio: millions of customers; monthly sales in the billions.





Ailoot brings that operating experience to API access for AI features in customer products, agents, applications and automations.
