Dža ko lil

ACE Step

Integriruj

Modelosko id ace-step
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ace-step?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tags": "lofi, hiphop, drum and bass, trap, chill"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: $0.012 12 API krediti Phir les kate

Lel API klidin
ACE Studio Teksto ko Muzika 5–240 s #text-to-audio#text-to-music

Komponil muzika koturendar e žanrosko tagendar thaj opcionalo lilendar, lengtha 5 tar 240 sekundenge

ACE Studio · Audio

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Audio-stilake tago dine komase genre, `prompt` si alternativno drom te den len.

standardno 60

Lengto, andar sekunda, generirime audioqo.

Lučhe lyrics · scheduler · guidance_type · number_of_steps · granularity_scale · guidance_interval · guidance_interval_decay · guidance_scale · minimum_guidance_scale · tag_guidance_scale · lyric_guidance_scale · seed
standardno

Gilabde lava, e giliqe sekcije organizuime kontrolenca sar [verse], [chorus] thaj [bridge]. Audio bi gilabde lavenca, mukhen kada inputo khana den numa [inst] vaj [instrumental].

scheduler standardno euler

Scheduler savo si utilizuime ko generiripe.

guidance_type standardno apg

CFG tipo savo si utilizuime ko generiripe.

standardno 27

Gengo gin savo si utilizuime ko audioqe generiripe.

standardno 10

Granularitetoski skala aplikovano ko generiripe. Lashi bari skala šaj te umalavel artefakto.

standardno 0.5

Porcija e generiripeqe schedule-eski savi lel guidance: te kidel 0.5, limitisarel la pe gengo steps-ende andar 0.25 * infer_steps dži 0.75 * infer_steps, bi guidance ko anglutno thaj agoruno.

standardno 0

Guidance decay ande generiripeqi intervala: 0.0 mukel decay biaktivno; averčes, e skala tele džal pe kada intervalo andar guidance_scale dži min_guidance_scale.

standardno 15

Guidance-qi skala aplikovano ko generiripe.

standardno 3

Najtele guidance-qi skala, savi arakhel pes palal decay ko generiripe.

standardno 5

Skala e tago guidance-i aplikovano ko generiripe.

standardno 1.5

Skala e lyric guidance-i aplikovano ko generiripe.

Seed vaš reproducibilno generiripe, randomno kidlo te na den valore.

POST /run/ace-step?wait=20 hesab → $0.012
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ace-step?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tags": "lofi, hiphop, drum and bass, trap, chill"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal ACE Step

Kerel muzikako track andar comma-separated stilake `tags` thaj opcionalo `lyrics`. Sekcijako markerura sar [verse] thaj [chorus] formirin e gilavipaski struktura, thaj [inst] del instrumental. `duration` džal tar 5 dži 240 sekundenge. Sampling kontrolura si `scheduler` (euler vaj heun), `guidance_type`, thaj `number_of_steps` tar 3 dži 60.

Parametra

NavTip standardnoMuklo Vakeripe
tagstrubul
Tipstring
Audio-stilake tago dine komase genre, `prompt` si alternativno drom te den len.
lyricsopcionalno
Tipstring
standardno
Gilabde lava, e giliqe sekcije organizuime kontrolenca sar [verse], [chorus] thaj [bridge]. Audio bi gilabde lavenca, mukhen kada inputo khana den numa [inst] vaj [instrumental].
durationopcionalno
Tipnumber
standardno60
5 – 240
Lengto, andar sekunda, generirime audioqo.
number_of_stepsopcionalno
Tipinteger
standardno27
3 – 60
Gengo gin savo si utilizuime ko audioqe generiripe.
seedopcionalno
Tipinteger | null
Seed vaš reproducibilno generiripe, randomno kidlo te na den valore.
scheduleropcionalno
Tipenum
standardnoeuler
eulerheun
Scheduler savo si utilizuime ko generiripe.
guidance_typeopcionalno
Tipenum
standardnoapg
cfgapgcfg_star
CFG tipo savo si utilizuime ko generiripe.
granularity_scaleopcionalno
Tipinteger
standardno10
-100 – 100
Granularitetoski skala aplikovano ko generiripe. Lashi bari skala šaj te umalavel artefakto.
guidance_intervalopcionalno
Tipnumber
standardno0.5
0 – 1
Porcija e generiripeqe schedule-eski savi lel guidance: te kidel 0.5, limitisarel la pe gengo steps-ende andar 0.25 * infer_steps dži 0.75 * infer_steps, bi guidance ko anglutno thaj agoruno.
guidance_interval_decayopcionalno
Tipnumber
standardno0
0 – 1
Guidance decay ande generiripeqi intervala: 0.0 mukel decay biaktivno; averčes, e skala tele džal pe kada intervalo andar guidance_scale dži min_guidance_scale.
guidance_scaleopcionalno
Tipnumber
standardno15
0 – 200
Guidance-qi skala aplikovano ko generiripe.
minimum_guidance_scaleopcionalno
Tipnumber
standardno3
0 – 200
Najtele guidance-qi skala, savi arakhel pes palal decay ko generiripe.
tag_guidance_scaleopcionalno
Tipnumber
standardno5
0 – 10
Skala e tago guidance-i aplikovano ko generiripe.
lyric_guidance_scaleopcionalno
Tipnumber
standardno1.5
0 – 10
Skala e lyric guidance-i aplikovano ko generiripe.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ace-step",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 12,
    "usd": "0.012",
    "charged": 12,
    "refunded": 0
  },
  "input": {
    "tags": "lofi, hiphop, drum and bass, trap, chill"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    },
    "seed": 42,
    "tags": "lofi, hiphop, drum and bass, trap, chill",
    "lyrics": "[inst]"
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
audio
object {url, content_type, file_name, file_size}Audio-fajlo kerdino generiripeça.
seed
integerRandomno seed utilizuime ko generiripe.
tags
stringGenre-tago aplikovande ko generiripe.
lyrics
stringGilabde lava aplikovande ko generiripe.

Bute modeli: Teksto ko Muzika

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/ace-step.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt