सामग्री पर जाएँ

Mirelo SFX2.0 · Text to Audio

इंटीग्रेट करें

मॉडल id mirelo-ai/sfx2.0/text-to-audio
# 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/mirelo-ai/sfx2.0/text-to-audio?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.60 600 API क्रेडिट · ≈ ₽64.39 चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Mirelo AI ऑडियो 0.1–600 s #text-to-audio#sfx

टेक्स्ट-विवरण से ध्वनि प्रभाव, नेगेटिव प्रॉम्प्ट, अवधि और कई सैंपल के साथ

Mirelo AI · ऑडियो

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक 88 / 2000

वांछित साउंड इफ़ेक्ट का वर्णन।

डिफ़ॉल्ट 30

अनुरोधित ध्वनि की लंबाई, सेकंड में मापी गई; text-to-SFX के लिए डिप्लॉयमेंट-विशिष्ट अधिकतम सीमा के भीतर होनी चाहिए।

डिफ़ॉल्ट 2

एकल बैच किए गए forward pass में निर्माण के लिए सैंपल की संख्या।

उन्नत negative_prompt · upload_audio_format · upload_audio_bitrate_kbps · seed
0 / 1000

आउटपुट से बाहर रखने वाली ध्वनियाँ।

upload_audio_format डिफ़ॉल्ट wav

प्रत्येक ऑडियो फ़ाइल के लिए उपयोग किया जाने वाला फ़ॉर्मैट।

kbps में अपलोड bitrate override, जब upload_audio_format lossless हो तो अस्वीकार किया जाता है; इसे अनसेट छोड़ने पर mp3 के लिए LAME V0 VBR या aac के लिए 256 kbps लक्ष्य बना रहता है। mp3 के लिए 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 में से सटीक constant rate चुनें। aac के लिए 32 से 256 तक के मान guaranteed rate के बजाय encoder target निर्दिष्ट करते हैं, इसलिए मोनो या sparse ऑडियो इससे कम हो सकता है।

प्रारंभिक सैंपल का seed; -1 के लिए या छोड़ने पर रैंडम seed का उपयोग होता है।

POST /run/mirelo-ai/sfx2.0/text-to-audio?wait=20 कोटेशन → $0.60
# 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/mirelo-ai/sfx2.0/text-to-audio?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) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Mirelo SFX2.0 · Text to Audio के बारे में

अधिकतम 2000 वर्णों वाले `prompt` से ध्वनि प्रभाव बनाता है, और ध्वनियों को हटाने के लिए `negative_prompt` का उपयोग करता है। `duration` 0.1 से 600 सेकंड तक होती है (डिफ़ॉल्ट 30), और `num_samples` 1 से 4 वेरिएशन बनाता है, जिनमें प्रत्येक का अपना सीड होता है। `upload_audio_format` के ज़रिए आउटपुट फ़ॉर्मैट wav, mp3, aac या flac होता है; mp3 और aac के लिए वैकल्पिक bitrate दिया जा सकता है।

पैरामीटर

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
≤ 2,000 अक्षर
वांछित साउंड इफ़ेक्ट का वर्णन।
negative_promptवैकल्पिक
प्रकारstring | null
≤ 1,000 अक्षर
आउटपुट से बाहर रखने वाली ध्वनियाँ।
durationवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट30
0.1 – 600
अनुरोधित ध्वनि की लंबाई, सेकंड में मापी गई; text-to-SFX के लिए डिप्लॉयमेंट-विशिष्ट अधिकतम सीमा के भीतर होनी चाहिए।
seedवैकल्पिक
प्रकारinteger | null
-1 – 92,23,37,20,36,85,47,76,000
प्रारंभिक सैंपल का seed; -1 के लिए या छोड़ने पर रैंडम seed का उपयोग होता है।
num_samplesवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट2
1 – 4
एकल बैच किए गए forward pass में निर्माण के लिए सैंपल की संख्या।
upload_audio_formatवैकल्पिक
प्रकारenum
डिफ़ॉल्टwav
wavmp3aacflac
प्रत्येक ऑडियो फ़ाइल के लिए उपयोग किया जाने वाला फ़ॉर्मैट।
upload_audio_bitrate_kbpsवैकल्पिक
प्रकारinteger | null
32 – 320
kbps में अपलोड bitrate override, जब upload_audio_format lossless हो तो अस्वीकार किया जाता है; इसे अनसेट छोड़ने पर mp3 के लिए LAME V0 VBR या aac के लिए 256 kbps लक्ष्य बना रहता है। mp3 के लिए 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 में से सटीक constant rate चुनें। aac के लिए 32 से 256 तक के मान guaranteed rate के बजाय encoder target निर्दिष्ट करते हैं, इसलिए मोनो या sparse ऑडियो इससे कम हो सकता है।
आवश्यक

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "mirelo-ai/sfx2.0/text-to-audio",
  "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": 600,
    "usd": "0.60",
    "charged": 600,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "model": "sfx-2.0",
    "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
      }
    ],
    "seeds": [
      42
    ]
  },
  "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 मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
model
stringआउटपुट बनाने के लिए उपयोग की गई SFX मॉडल रिलीज़।
audio
array of object {url, content_type, file_name, file_size}निर्मित साउंड इफ़ेक्ट, प्रत्येक सैंपल के लिए एक परिणाम के साथ।
seeds
array of integerसैंपल के अनुरूप seed, उनका क्रम बनाए रखते हुए।

और मॉडल: ऑडियो

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/mirelo-ai/sfx2.0/text-to-audio.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt