Skip to content
このページはまだお使いの言語に対応していないため、英語で表示されています。

Upload Audio and Create a Cover

Upload a public audio URL and create a cover with Suno V6

すべてのドキュメント
POST/v1/music/generations/uploadCover

Note

This endpoint creates a cover directly from a public audio URL, so you do not need to call uploadTask first. It returns a task_id; poll GET /v1/music/tasks/{task_id} for the result.

リクエスト例

curl --request POST \
  --url https://api.apisea.ai/v1/music/generations/uploadCover \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "suno",
    "version": "v6",
    "audio_url": "https://example.com/reference.mp3",
    "custom": true,
    "instrumental": true,
    "tags": "piano, ambient",
    "duration_s": 120,
    "variety": "normal",
    "audio_format": "m4a"
  }'

Authorizations

Authorizationstringrequired

Bearer Token. Obtain API Key from the API Key Management page.

Body

modelstringdefault: suno

Always use suno.

audio_urlstringrequired

A publicly accessible direct HTTP(S) audio URL. Keep the source audio under 8 minutes. Local paths, blob: URLs, and links that require sign-in are not supported.

versionstringdefault: v6

Public version: v6 / v6-wild / v6-mini. Defaults to v6; omit this field when using custom_model_id.

custom_model_idstring

The full UUID returned by the model-creation task. Mutually exclusive with version and persona_id.

customboolean

Send this field explicitly. Use gpt_description with false; use the lyrics and style fields with true.

instrumentalbooleandefault: false

Whether to generate instrumental audio. When custom=true and this field is false, prompt is required.

gpt_descriptionstring

Inspiration description. Required when custom=false; maximum 3,000 characters.

promptstring

Custom lyrics input, up to 5,000 characters.

tagsstring

Style description, up to 1,000 characters.

titlestring

Title, up to 80 characters.

negative_tagsstring

Styles to exclude.

style_weightnumber

Style weight, from 0 to 1.

weirdnessnumber

Creativity weight, from 0 to 1.

audio_weightnumber

Audio weight, from 0 to 1.

auto_lyricsboolean

Whether to creatively rewrite the input lyrics.

vocal_genderstring

Voice gender: Male / Female.

persona_idstring

Persona ID, mutually exclusive with custom_model_id.

duration_sinteger

Target generation duration, from 10 to 360 seconds. Available only in custom mode.

varietystring

Style variation: off / normal / high / extra / max.

max_modebooleandefault: false

Enables Max mode. Requires custom mode and is billed at twice the standard price.

audio_formatstring

Output format: mp3 / m4a / wav.

Response

codeinteger

Response Status Codes.

dataarray

Submission result. Read from data[0].task_id and poll the task query interface.

レスポンス

{
  "code": 200,
  "data": [
    {"status": "submitted", "task_id": "task_01M24YMN4EV04M84R5QYM77R1E"}
  ]
}

ドキュメントに問題が見つかりましたか?support@apisea.aiまでメールでお知らせください。