Peke ki ngā ihirangi

Stable Audio 3 Trainer

Whakauru

id tauira stable-audio-3-trainer
# 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/stable-audio-3-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio_data_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# 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"

Ngā kōnae pēnei i te tauira: $ 3.00 3,000 whiwhinga API ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Stability AI Whakangungu 1–380 s #music#audio#sfx#lora

Ka whakangungu i tētahi LoRA ki Stable Audio 3 mai i tētahi kōnae zip o ngā topenga oro me ngā tapanga kuputuhi e hāngai ana

Stability AI · Kōnae

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

URL zip huingararaunga, ko ia takirua ororongo/tapanga kei raro tahi i ngā ingoa pūtake ōrite: hei tauira, ka hono `clip.wav` ki `clip.txt`. Me whakamahi ngā tapanga i te toronga `.txt`.

taunoa 1000

Tatau hīkoi mō te whakangungu LoRA.

Te roanga crop/pad ki te hēkona, ka whakawhāitihia i ngā wā katoa e te roanga whakangungu taketake o te tauira kua kōwhiria. Tukuna he roanga, waiho rānei kia whakamahia te topenga roa rawa kua kitea i te huingararaunga, i raro i taua here.

taunoa 1

Te rahi puranga ka whakamahia i te whakangungu.

Arā atu model · base_precision · adapter_type · lora_checkpoint_url · learning_rate · rank · seed · pre_encode · include · exclude
model taunoa medium-base

Takiuru pūtake mō te fine-tuning i Stable Audio 3.

base_precision taunoa bf16

Te tika ka whakamahia e ngā taumaha pūtake kua whakatio; ka noho ngā tawhā LoRA hei fp32.

taunoa dora-rows

Te whānau pūurutau ka whakamahia mō te whakangungu LoRA.

URL kōwhiringa o tētahi takiuru LoRA `.safetensors` hei tīmata anō.

taunoa 0.0001

Te tere ako ka whakamahia e AdamW ki ngā tawhā LoRA.

taunoa 16

Te rārangi o te pūurutau LoRA.

taunoa 42

Kākano mō te whakaranu matapōkere.

Ngā aho wāhanga ingoa kōwae hei here i te wāhi ka tāpirihia a LoRA: ko ngā kōwae e taurite ana anake ka whiwhi.

Ngā aho wāhanga ingoa hei aukati i ngā kōwae e taurite ana.

POST /run/stable-audio-3-trainer?wait=20 utu → $ 3.00
# 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/stable-audio-3-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio_data_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# 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ō Stable Audio 3 Trainer

Ka whakatikatika matatau i tētahi pito taki pūtake (medium-base, small-music-base, small-sfx-base rānei) mā tētahi kōnae zip `audio_data_url`, kei ia kōnae ororongo he tapanga `.txt` ōrite te ingoa. Ka taea te whakarite `number_of_steps` (tae atu ki 20000), `learning_rate`, `rank` (1 ki te 256), `adapter_type` me `batch_size`, te tīmata anō rānei mai i tētahi pito taki `.safetensors`. Ka whakahoki i ngā taumaha LoRA me tētahi kōnae config.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
audio_data_urle hiahiatia ana
Momostring
URL zip huingararaunga, ko ia takirua ororongo/tapanga kei raro tahi i ngā ingoa pūtake ōrite: hei tauira, ka hono `clip.wav` ki `clip.txt`. Me whakamahi ngā tapanga i te toronga `.txt`.
modelkōwhiringa
Momoenum
Taunoamedium-base
medium-basesmall-music-basesmall-sfx-base
Takiuru pūtake mō te fine-tuning i Stable Audio 3.
number_of_stepskōwhiringa
Momointeger
Taunoa1000
1 – 20,000
Tatau hīkoi mō te whakangungu LoRA.
learning_ratekōwhiringa
Momonumber
Taunoa0.0001
≤ 0.01> 0
Te tere ako ka whakamahia e AdamW ki ngā tawhā LoRA.
rankkōwhiringa
Momointeger
Taunoa16
1 – 256
Te rārangi o te pūurutau LoRA.
adapter_typekōwhiringa
Momoenum
Taunoadora-rows
loradoradora-rowsdora-colsboralora-xsdora-rows-xsdora-cols-xsbora-xs
Te whānau pūurutau ka whakamahia mō te whakangungu LoRA.
durationkōwhiringa
Momonumber | null
1 – 380
Te roanga crop/pad ki te hēkona, ka whakawhāitihia i ngā wā katoa e te roanga whakangungu taketake o te tauira kua kōwhiria. Tukuna he roanga, waiho rānei kia whakamahia te topenga roa rawa kua kitea i te huingararaunga, i raro i taua here.
batch_sizekōwhiringa
Momointeger
Taunoa1
1 – 8
Te rahi puranga ka whakamahia i te whakangungu.
seedkōwhiringa
Momointeger
Taunoa42
0 – 2,147,483,647
Kākano mō te whakaranu matapōkere.
base_precisionkōwhiringa
Momoenum
Taunoabf16
bf16bfloat16fp16float16
Te tika ka whakamahia e ngā taumaha pūtake kua whakatio; ka noho ngā tawhā LoRA hei fp32.
includekōwhiringa
Momostring[]
Ngā aho wāhanga ingoa kōwae hei here i te wāhi ka tāpirihia a LoRA: ko ngā kōwae e taurite ana anake ka whiwhi.
excludekōwhiringa
Momostring[]
Ngā aho wāhanga ingoa hei aukati i ngā kōwae e taurite ana.
lora_checkpoint_urlkōwhiringa
Momostring | null
URL kōwhiringa o tētahi takiuru LoRA `.safetensors` hei tīmata anō.
pre_encodekōwhiringa
Momoboolean
Taunoafalse
Te whakawaehere-mua o te pūranga ororongo ki ngā latents SAME i mua i te whakangungu i a LoRA.
e hiahiatia ana

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "stable-audio-3-trainer",
  "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": 3000,
    "usd": "3.00",
    "charged": 3000,
    "refunded": 0
  },
  "input": {
    "audio_data_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  },
  "output": {
    "lora_file": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "config_file": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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
lora_file
object {url, content_type, file_name, file_size}Ngā taumaha LoRA kua whakangungua mō Stable Audio 3.
config_file
object {url, content_type, file_name, file_size}He metadata JSON e whakaahua ana i te whakahaerenga whakangungu me te tauira hototahi mō te inference.

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