שפּרינגען צו אינהאַלט

Sonilo V1.1 Text to Sound Effects

אינטעגרירן

מאָדעל־id sonilo/v1.1/text-to-sound-effects
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/sonilo/v1.1/text-to-sound-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

פֿײַלן ווי דער בײַשפּיל: ⁨$ 0.015⁩ 15 API־קרעדיטן · ≈ ⁨₽ 1.61⁩ אײַערע פֿײַלן ווערן געמאסטן איידערן לויפֿן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Sonilo אַודיאָ 0.5–180 s #sfx#audio#effects

שאַפֿט קלאַנג־עפֿעקטן פֿון אַ טעקסט־באַשרײַבונג, 0.5 ביז 180 סעקונדעס, אין WAV, MP3, AAC אָדער FLAC

Sonilo · אַודיאָ

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט

באַשרײַבונג פֿונעם געוואָלטן קלאַנג.

סטאַנדאַרט 8

אַודיאָ־לענג אין סעקונדעס, פֿון 0.5 ביז 180.

פֿאָרגעשריטן audio_format
audio_format סטאַנדאַרט aac

פֿאָרמאַט פֿונעם אַודיאָ־פֿײַל: קלײַבט aac, mp3, wav אָדער flac; aac איז דער סטאַנדאַרט.

POST /run/sonilo/v1.1/text-to-sound-effects?wait=20 פּרײַז → ⁨$ 0.015⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/sonilo/v1.1/text-to-sound-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

לויפֿן דעם ריקוועסט

אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן Sonilo V1.1 Text to Sound Effects

שאַפֿט אַ קלאַנג־עפֿעקט פֿון אַ `prompt` וואָס באַשרײַבט זײַן טיפּ, טעקסטור און אינטענסיטעט. `duration` לויפט פֿון 0.5 ביז 180 סעקונדעס (סטאַנדאַרט 8). `audio_format` קלויבט wav, mp3, aac אָדער flac, מיט aac ווי סטאַנדאַרט.

פּאַראַמעטערס

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
promptפארלאנגט
טיפּstring
באַשרײַבונג פֿונעם געוואָלטן קלאַנג.
durationאָפּציאָנעל
טיפּnumber
סטאַנדאַרט8
0.5 – 180
אַודיאָ־לענג אין סעקונדעס, פֿון 0.5 ביז 180.
audio_formatאָפּציאָנעל
טיפּenum
סטאַנדאַרטaac
wavmp3aacflac
פֿאָרמאַט פֿונעם אַודיאָ־פֿײַל: קלײַבט aac, mp3, wav אָדער flac; aac איז דער סטאַנדאַרט.
פארלאנגט

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "sonilo/v1.1/text-to-sound-effects",
  "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": 15,
    "usd": "0.015",
    "charged": 15,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    },
    "audios": [
      {
        "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
      }
    ]
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
אייער טעקעס, אייער ברירהיעדער outputs[].url איז אַ קאַפּיע אין אונדזער סטאָרידזש: געהאַלטן אויף אייביק (באַצאָלט פּער GB־חודש) אָדער 7 טעג אומזיסט, לויט אײַער חשבון־באַשטעטיקונג אָדער ?storage=.
דער זעלבער פֿאָרעם בײַ יעדן מאָדעלtype, url, content_type, width, height און duration, סײַ פֿאַר בילדער, ווידעאָ און אַודיאָ. output איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
audio
object {url, content_type, file_name, file_size}גענערירטער קלאַנג קאָדירט אינעם אויסגעקליבענעם אַודיאָ־פֿאָרמאַט.
audios
array of object {url, content_type, file_name, file_size}גאַנץ זאַמלונג פון גענערירטע קלאַנגען, מיט איין קלאַנג פֿאַר יעדער סאַמפּל.

מער מאָדעלן: אַודיאָ

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/sonilo/v1.1/text-to-sound-effects.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt