Dža ko lil

Stable Audio 3 Trainer

Integriruj

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

Fajlo sar o misalo: $3.00 3,000 API krediti tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Stability AI Sikavipen 1–380 s #music#audio#sfx#lora

Treniril jekh LoRA pre Stable Audio 3 katar zip audio-klipengo len matching tekstikane captionǎ

Stability AI · Fajlo

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

Datasetosko zip URL, kaj sakone audio/captionosko para si arakhlo jekhthane tale sajekh basename: `clip.wav` si para `clip.txt`, sar misalo. Captiona trubul te uživaren e `.txt` extension.

standardno 1000

Gendo e nevešaripaski fazako vaš LoRA trening.

Crop/pad lungipen ande sekunda, limitime ande savoro situacija e selektirime modeloske native treniripasko lungipnasa. Dena lungipen vaj muk les te uživarel o maj lungo klipo savo si arakhlo ando dataset, tale oda kapo.

standardno 1

Batchosko size uživardo ande treniripe.

Lučhe model · base_precision · adapter_type · lora_checkpoint_url · learning_rate · rank · seed · pre_encode · include · exclude
model standardno medium-base

Base checkpointo vaš fine-tuning Stable Audio 3.

base_precision standardno bf16

Precizija uživardi e phandle base-weightonge; LoRA parametro ačhen fp32.

standardno dora-rows

Adapteroski familija uživardi vaš LoRA treniripe.

Opcionale URL e `.safetensors` LoRA checkpointsko, katar savo si te ačhavel pes.

standardno 0.0001

Sikavipasko rate savo AdamW apliciril ko LoRA parametro.

standardno 16

Ranko e LoRA adapterosko.

standardno 42

Seedo vaš randomizacija.

Module-name substrings save limitinen kaj si te avel LoRA: numa matching module-nge lel les.

Name substrings uživarde te avričhiven matching module.

POST /run/stable-audio-3-trainer?wait=20 hesab → $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"

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

Fine-tuning kerel jek base checkpoint (medium-base, small-music-base vaj small-sfx-base) pe jek `audio_data_url` zip, kaj sako audio fajlo si les jek gleich-namuno `.txt` caption. Šaj te lačharen `number_of_steps` (dži 20000), `learning_rate`, `rank` (1 katar 256), `adapter_type` thaj `batch_size`, vaj te keren resume andar jek `.safetensors` checkpoint. Del LoRA pharipen thaj jek config fajlo.

Parametra

NavTip standardnoMuklo Vakeripe
audio_data_urltrubul
Tipstring
Datasetosko zip URL, kaj sakone audio/captionosko para si arakhlo jekhthane tale sajekh basename: `clip.wav` si para `clip.txt`, sar misalo. Captiona trubul te uživaren e `.txt` extension.
modelopcionalno
Tipenum
standardnomedium-base
medium-basesmall-music-basesmall-sfx-base
Base checkpointo vaš fine-tuning Stable Audio 3.
number_of_stepsopcionalno
Tipinteger
standardno1000
1 – 20,000
Gendo e nevešaripaski fazako vaš LoRA trening.
learning_rateopcionalno
Tipnumber
standardno0.0001
≤ 0.01> 0
Sikavipasko rate savo AdamW apliciril ko LoRA parametro.
rankopcionalno
Tipinteger
standardno16
1 – 256
Ranko e LoRA adapterosko.
adapter_typeopcionalno
Tipenum
standardnodora-rows
loradoradora-rowsdora-colsboralora-xsdora-rows-xsdora-cols-xsbora-xs
Adapteroski familija uživardi vaš LoRA treniripe.
durationopcionalno
Tipnumber | null
1 – 380
Crop/pad lungipen ande sekunda, limitime ande savoro situacija e selektirime modeloske native treniripasko lungipnasa. Dena lungipen vaj muk les te uživarel o maj lungo klipo savo si arakhlo ando dataset, tale oda kapo.
batch_sizeopcionalno
Tipinteger
standardno1
1 – 8
Batchosko size uživardo ande treniripe.
seedopcionalno
Tipinteger
standardno42
0 – 2,147,483,647
Seedo vaš randomizacija.
base_precisionopcionalno
Tipenum
standardnobf16
bf16bfloat16fp16float16
Precizija uživardi e phandle base-weightonge; LoRA parametro ačhen fp32.
includeopcionalno
Tipstring[]
Module-name substrings save limitinen kaj si te avel LoRA: numa matching module-nge lel les.
excludeopcionalno
Tipstring[]
Name substrings uživarde te avričhiven matching module.
lora_checkpoint_urlopcionalno
Tipstring | null
Opcionale URL e `.safetensors` LoRA checkpointsko, katar savo si te ačhavel pes.
pre_encodeopcionalno
Tipboolean
standardnofalse
Agorutno encoding e audioske arhivosko ande SAME latents angluno katar LoRA-sko treniripe.
trubul

Rezultato

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"
  }
}
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
lora_file
object {url, content_type, file_name, file_size}LoRA weighta trenirime vaš Stable Audio 3.
config_file
object {url, content_type, file_name, file_size}JSON metadata savo vakerel pal e treniripaski sesija thaj o kompatibilno modelo vaš inference.

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