Peke ki ngā ihirangi

ACE Step

Whakauru

id tauira 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"

Tēnei tono: $ 0.012 12 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
ACE Studio Kuputuhi ki te Waiata 5–240 s #text-to-audio#text-to-music

Ka tito waiata mai i ngā tūtohu momo me ngā kupu whiriwhiri, mai i te 5 ki te 240 hēkona

ACE Studio · Ororongo

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Ngā tūtohu kāhua ororongo ka tukuna hei momo kua wehea ki ngā piko, ā, kei te wātea hoki a `prompt` hei ara kē mō te tuku.

taunoa 60

Te roa, i roto i ngā hēkona, o te ororongo kua whakaputaina.

Arā atu 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
taunoa

Ngā kupu waiata, me ngā wāhanga waiata kua whakaritea mā ngā mana pērā i [verse], [chorus], me [bridge]. Mō te ororongo kāore he kupu waiata, waiho tēnei tāuru kia kore, tukuna rānei ko [inst] anake, ko [instrumental] rānei.

scheduler taunoa euler

Te kaiwhakarite e whakamahia ana i te whakaputanga.

guidance_type taunoa apg

Te momo CFG e whakamahia ana i te whakaputanga.

taunoa 27

Te tatau hipanga e whakamahia ana i te whakaputanga ororongo.

taunoa 10

Te tauine tōnuitanga ka whakamahia i te whakaputanga. Mā te whakanui ake pea ka iti iho ngā paruparu.

taunoa 0.5

Te wāhanga o te hōtaka whakaputanga ka whiwhi aratohu: mā te kōwhiri i te 0.5 ka herea ki ngā hipanga mai i te 0.25 * infer_steps ki te 0.75 * infer_steps, kāore he aratohu i te tīmatanga me te mutunga.

taunoa 0

Te hekenga o te aratohu i roto i te wā whakaputanga: mā te 0.0 ka noho whakakore te hekenga; ki te kore, ka heke te tauine i taua wā mai i guidance_scale ki min_guidance_scale.

taunoa 15

Te tauine o te aratohu ka whakamahia i te whakaputanga.

taunoa 3

Te tauine aratohu iti rawa ka tae atu i muri i te hekenga i te wā whakaputanga.

taunoa 5

Te tauine o te aratohu tūtohu ka whakamahia i te whakaputanga.

taunoa 1.5

Te tauine o te aratohu kupu waiata ka whakamahia i te whakaputanga.

Te kākano mō te whakaputanga ka taea te tārua; ka kōwhiria matapōkeretia ki te kore koe e tuku uara.

POST /run/ace-step?wait=20 utu → $ 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō ACE Step

Ka waihanga ara waiata mai i ngā `tags` kāhua kua wehea ki ngā tohuwāhi kōma me ngā `lyrics` whiriwhiri. Ko ngā tohu wāhanga pērā i [verse] me [chorus] ka hanga i te hanganga o te waiata, ā, mā [inst] ka puta he waiata taputapu. Kei waenga te `duration` i te 5 me te 240 hēkona. Kei roto i ngā mana tauira ko `scheduler` (euler, heun rānei), `guidance_type`, me `number_of_steps` mai i te 3 ki te 60.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
tagse hiahiatia ana
Momostring
Ngā tūtohu kāhua ororongo ka tukuna hei momo kua wehea ki ngā piko, ā, kei te wātea hoki a `prompt` hei ara kē mō te tuku.
lyricskōwhiringa
Momostring
Taunoa
Ngā kupu waiata, me ngā wāhanga waiata kua whakaritea mā ngā mana pērā i [verse], [chorus], me [bridge]. Mō te ororongo kāore he kupu waiata, waiho tēnei tāuru kia kore, tukuna rānei ko [inst] anake, ko [instrumental] rānei.
durationkōwhiringa
Momonumber
Taunoa60
5 – 240
Te roa, i roto i ngā hēkona, o te ororongo kua whakaputaina.
number_of_stepskōwhiringa
Momointeger
Taunoa27
3 – 60
Te tatau hipanga e whakamahia ana i te whakaputanga ororongo.
seedkōwhiringa
Momointeger | null
Te kākano mō te whakaputanga ka taea te tārua; ka kōwhiria matapōkeretia ki te kore koe e tuku uara.
schedulerkōwhiringa
Momoenum
Taunoaeuler
eulerheun
Te kaiwhakarite e whakamahia ana i te whakaputanga.
guidance_typekōwhiringa
Momoenum
Taunoaapg
cfgapgcfg_star
Te momo CFG e whakamahia ana i te whakaputanga.
granularity_scalekōwhiringa
Momointeger
Taunoa10
-100 – 100
Te tauine tōnuitanga ka whakamahia i te whakaputanga. Mā te whakanui ake pea ka iti iho ngā paruparu.
guidance_intervalkōwhiringa
Momonumber
Taunoa0.5
0 – 1
Te wāhanga o te hōtaka whakaputanga ka whiwhi aratohu: mā te kōwhiri i te 0.5 ka herea ki ngā hipanga mai i te 0.25 * infer_steps ki te 0.75 * infer_steps, kāore he aratohu i te tīmatanga me te mutunga.
guidance_interval_decaykōwhiringa
Momonumber
Taunoa0
0 – 1
Te hekenga o te aratohu i roto i te wā whakaputanga: mā te 0.0 ka noho whakakore te hekenga; ki te kore, ka heke te tauine i taua wā mai i guidance_scale ki min_guidance_scale.
guidance_scalekōwhiringa
Momonumber
Taunoa15
0 – 200
Te tauine o te aratohu ka whakamahia i te whakaputanga.
minimum_guidance_scalekōwhiringa
Momonumber
Taunoa3
0 – 200
Te tauine aratohu iti rawa ka tae atu i muri i te hekenga i te wā whakaputanga.
tag_guidance_scalekōwhiringa
Momonumber
Taunoa5
0 – 10
Te tauine o te aratohu tūtohu ka whakamahia i te whakaputanga.
lyric_guidance_scalekōwhiringa
Momonumber
Taunoa1.5
0 – 10
Te tauine o te aratohu kupu waiata ka whakamahia i te whakaputanga.
e hiahiatia ana

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
audio
object {url, content_type, file_name, file_size}Te kōnae ororongo i whakaputaina.
seed
integerTe kākano matapōkere i whakamahia i te whakaputanga.
tags
stringNgā tūtohu momo waiata i whakamahia i te whakaputanga.
lyrics
stringNgā kupu waiata i whakamahia i te whakaputanga.

Ētahi atu tauira: Kuputuhi ki te Waiata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/ace-step.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt