Media API tasvirlar, videolar, musiqa
Rosmlar, videolar va musiqani bir xil kalit bilan yarating sk-nr-… va matnli modellar bilan bir xil balansda. yagona hisob raqam, fakt to'lovlari, obunalar va paketlarsiz.
- Baza:
https://nordrouter.com(yokihttps://global-api.nordrouter.comxorijiy tarmoqlar uchun). - Autentifikatsiya: boshliq
Authorization: Bearer sk-nr-…(yokiX-API-Key: sk-nr-…) - Format: JSON, asinkron ishlab chiqarish (tashabbusni yaratish ) → so'rov berish uchun. → faylni olib tashlash).
Yolg'izish nuqtalari
| Tartibi | Ishlab chiqarish |
|---|---|
POST /media/generate | Generatsiya qilish vazifasini yaratish |
GET /media/job/:id | Muammoni va natijasi |
POST /media/estimate | Konfiguratsiya narxini oldindan bilib oling |
GET /media/models | Modellari va parametrlarning mashina o'qiladigan ro'yxati |
POST /media/upload | Asl media faylini yuklab oling |
GET /media/file/:id | Tayyor fayl (qisqasi dan) result_url) |
So'rovning hayot davri
**1. Muammoni yaratish **
curl https://nordrouter.com/media/generate \
-H "Authorization: Bearer sk-nr-ВАШ-КЛЮЧ" -H "Content-Type: application/json" \
-d '{ "model": "video/kling-2.6-i2v",
"input": { "prompt": "плавный наезд камеры", "image": "https://…/photo.png", "duration": "5", "sound": true } }'{ "id": "b1f2…", "model": "video/kling-2.6-i2v", "status": "processing", "poll": "https://nordrouter.com/media/job/b1f2…" }2. Statusni so'rash (har 35 soniyada bir marta)
curl https://nordrouter.com/media/job/b1f2…{ "id": "b1f2…", "status": "done", "result_url": "https://nordrouter.com/media/file/b1f2…", "cost_usd": 0.55, "error": null }3. Fayl -ni result_url orqali olib tashlang. nordrouter.com (o'zingizning brendingiz) ga bog'lanish; fayllar 14 kun saqlanadi, so'ngra o'chiriladi.
Asl media fayllarini yuklab olish
Polya image, image2, audio_url va video_url To'g'ridan-to'g'ri ommaviy aloqalarni qabul qiladilar. attachments qaytarib bergan obyektlar qatorini qabul qiladi. POST /media/uploadyuboring: { "data": "data:audio/mpeg;base64,…", "name": "track.mp3" }, so'ngra yuklovchi javobining to'liqini ga o'tkazing. input.attachmentsBuning o'rniga Suno uchun ommaviy URL-ni ga o'tkazish mumkin. input.upload_url, mashup uchun esa ikki URL-ni ko'rish uchun input.upload_url_list.
Byulling
Jurnallar sizning dollar balansingiz bilan **** (matn modellari bilan bir xil) o'tkaziladi, bu esa bajarilgan ishlab chiqarish holatiga ko'ra, quyida keltirilgan jadvallardan aniq miqdorda.
- Reserv → fakt. Muammoni yaratishda qiymat bahosi rezerv qilinadi; yakunlangandan so'ng, summi haqiqiy natija bo'yicha qayta hisoblab chiqiladi, ortiqcha mablag'lar balansga qaytariladi.
- Video sekundga. Qiymat uzunlik va aniqlik bilan o'sadi; qo'shilgan tovush qimmatroq. Jadvallarda andoza moslamalar uchun ot narxi ko'rsatilgan,
/секtarif soniyasi. - Xato tariflangan emas. Agar vazifa
failedmaqomi bilan yakunlangan bo'lsa, zaxira to'liq qaytariladi faqat muvaffaqiyatli ishlab chiqarish uchun to'lovlar. - To'liq narx oldindan
POST /media/estimatewith the samemodel+inputreturnet{ "usd": … }to start. - Balansni to'ldirish rubllarda (≈ $1 = 8996); keyin hamma narsa AQSh dollarida hisoblanadi.
Modellar katalogining
Narx: videoda sekundlik stavka (/сек), natija = stavka × davomiylik (va rezolyutsiya/tushini o'zgartirish mumkin); qolgan videoda bitta nasl uchun andoza moslamalarda. Har qanday konfiguratsiyaning aniq qiymati POST /media/estimate.ga qaytariladi.
O'rmonlar input ko'proq bo'lishi mumkin mashina o'qiladigan ro'yxat (tipli, variant, andoza qiymat, soniyalar oralig'i) har doim beradi GET /media/models. Majburiy hujjatlar belgilangan. *Modelladagi har qanday qo'shimcha maydonlar ()negative_prompt, seed, cfg_scale...) to'g'ridan-to'g'ri ga yuborilishi mumkin. input.
Rasmlar
model | Modem | Parametrlar input | Fayl | Narxi Narxi |
|---|---|---|---|---|
image/nano-banana | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|3:4|4:3|3:2|2:3|21:9|auto, nsfw_checker=bool | PNG | $0.025 |
image/nano-banana-2 | matn matni→rasm rasm | prompt *, aspect_ratio=auto|1:1|16:9|9:16|3:4|4:3|21:9, resolution=1K|2K|4K, image=url, nsfw_checker=bool | PNG | $0.050 |
image/nano-banana-2-lite | matn matni→rasm rasm | prompt *, aspect_ratio=auto|1:1|16:9|9:16|3:4|4:3, image=url, nsfw_checker=bool | PNG | $0.025 |
image/nano-banana-pro | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|3:4|4:3|21:9|auto, resolution=1K|2K|4K, image=url, nsfw_checker=bool | PNG | $0.11 |
image/imagen4-fast | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|3:4|4:3, nsfw_checker=bool | PNG | $0.025 |
image/imagen4 | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|3:4|4:3, nsfw_checker=bool | PNG | $0.050 |
image/imagen4-ultra | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|3:4|4:3, nsfw_checker=bool | PNG | $0.075 |
image/gpt-image-1.5 | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|2:3|3:2, quality=medium|high, nsfw_checker=bool | PNG | $0.025 |
image/gpt-image-1.5-edit | Rasm tahririyati | prompt *, image=url *, aspect_ratio=3:2|1:1|2:3, quality=medium|high, nsfw_checker=bool | PNG | $0.025 |
image/gpt-image-2 | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|3:2|2:3|16:9|9:16|4:3|3:4, resolution=1K|2K|4K | PNG | $0.006 |
image/gpt-image-2-edit | Rasm tahririyati | prompt *, image=url *, aspect_ratio=auto|1:1|3:2|2:3|16:9|9:16, resolution=1K|2K|4K, nsfw_checker=bool | PNG | $0.037 |
image/flux2-pro | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|4:3|3:4|16:9|9:16|3:2|2:3, resolution=1K|2K, nsfw_checker=bool | PNG | $0.031 |
image/flux2-pro-edit | Rasm tahririyati | prompt *, image=url *, aspect_ratio=1:1|4:3|3:4|16:9|9:16|3:2|2:3|auto, resolution=1K|2K, nsfw_checker=bool | PNG | $0.031 |
image/flux2-flex | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|4:3|3:4|16:9|9:16|3:2|2:3, resolution=1K|2K, nsfw_checker=bool | PNG | $0.087 |
image/flux2-flex-edit | Rasm tahririyati | prompt *, image=url *, aspect_ratio=1:1|4:3|3:4|16:9|9:16|3:2|2:3|auto, resolution=1K|2K, nsfw_checker=bool | PNG | $0.087 |
image/seedream-edit | Rasm tahririyati | prompt *, image=url *, image_size=square_hd|square|portrait_4_3|portrait_16_9|landscape_4_3|landscape_16_9, image_resolution=1K|2K|4K, nsfw_checker=bool | PNG | $0.037 |
image/seedream-4.5-edit | Rasm tahririyati | prompt *, image=url *, aspect_ratio=1:1|4:3|3:4|16:9|9:16|2:3|3:2, quality=basic|high, nsfw_checker=bool | PNG | $0.044 |
image/seedream-5-lite-edit | Rasm tahririyati | prompt *, image=url *, aspect_ratio=1:1|4:3|3:4|16:9|9:16|2:3|3:2, quality=basic|high, nsfw_checker=bool | PNG | $0.037 |
image/seedream-5.0-pro-edit | Rasm tahririyati | prompt *, image=url *, aspect_ratio=1:1|4:3|3:4|16:9|9:16|2:3|3:2|21:9, quality=basic|high, nsfw_checker=bool | PNG | $0.044 |
image/ideogram-v3 | matn matni→rasm rasm | prompt *, rendering_speed=TURBO|BALANCED|QUALITY, image_size=square_hd|square|portrait_4_3|portrait_16_9|landscape_4_3|landscape_16_9, style=AUTO|GENERAL|REALISTIC|DESIGN, nsfw_checker=bool | PNG | $0.044 |
image/ideogram-edit | Rasm tahririyati | prompt *, image=url *, rendering_speed=TURBO|BALANCED|QUALITY, image_size=square_hd|square|portrait_4_3|portrait_16_9|landscape_4_3|landscape_16_9, nsfw_checker=bool | PNG | $0.044 |
image/ideogram-character | Rasm tahririyati | prompt *, image=url *, rendering_speed=TURBO|BALANCED|QUALITY, style=AUTO|REALISTIC|FICTION, nsfw_checker=bool | PNG | $0.11 |
image/qwen | matn matni→rasm rasm | prompt *, image_size=square_hd|square|portrait_4_3|portrait_16_9|landscape_4_3|landscape_16_9, nsfw_checker=bool | PNG | $0.031 |
image/qwen-edit | Rasm tahririyati | prompt *, image=url *, image_size=square_hd|square|portrait_4_3|portrait_16_9|landscape_4_3|landscape_16_9, nsfw_checker=bool | PNG | $0.037 |
image/qwen-i2i | prompt *, image=url *, nsfw_checker=bool | PNG | $0.031 | |
image/qwen2-edit | Rasm tahririyati | prompt *, image=url *, image_size=16:9|1:1|3:4|4:3|9:16|3:2|2:3, nsfw_checker=bool | PNG | $0.037 |
image/grok | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|2:3|3:2|16:9|9:16, enable_pro=bool, nsfw_checker=bool | PNG | $0.025 |
image/grok-edit | prompt *, image=url *, nsfw_checker=bool | PNG | $0.025 | |
image/z-image | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|3:4|4:3, nsfw_checker=bool | PNG | $0.006 |
image/wan-2.7 | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|4:3|3:4|21:9, resolution=1K|2K|4K, image=url, nsfw_checker=bool | PNG | $0.031 |
image/wan-2.7-pro | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|4:3|3:4|21:9, resolution=1K|2K|4K, image=url, nsfw_checker=bool | PNG | $0.075 |
image/seedream-5.0-pro | text→kartina | prompt * | JPG | $0.013 |
image/gemini-3.1-flash | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|4:3|3:4, resolution=1K|2K|4K | PNG | $0.013 |
image/gemini-3-pro | matn matni→rasm rasm | prompt *, aspect_ratio=1:1|16:9|9:16|4:3|3:4, resolution=1K|2K|4K | PNG | $0.031 |
🎬 Video
model | Modem | Parametrlar input | Fayl | Narxi Narxi |
|---|---|---|---|---|
video/veo-3.1-fast | matn matni→Videolar | prompt *, aspect_ratio=16:9|9:16, image=url | MP4 | $0.38 |
video/veo-3.1-quality | matn matni→Videolar | prompt *, aspect_ratio=16:9|9:16, image=url | MP4 | $1.56 |
video/veo-3.1-lite | matn matni→Videolar | prompt *, aspect_ratio=16:9|9:16, image=url | MP4 | $0.19 |
video/gemini-omni | matn matni→Videolar | prompt *, duration=4|6|8|10, aspect_ratio=16:9|9:16, resolution=720p|1080p|4k, image=url, nsfw_checker=bool | MP4 | $0.66 |
video/gemini-omni-flash | text→video | prompt *, attachments=upload[] | MP4 | $0.13 |
video/pixverse-v6 | matn matni→Videolar | prompt *, duration115s, =115s, quality=360p|540p|720p|1080p, generate_audio_switch=bool, aspect_ratio=16:9|4:3|1:1|3:4|9:16|2:3|3:2|21:9, generate_multi_clip_switch=bool, nsfw_checker=bool | MP4 | $0.045/sektga |
video/pixverse-v6-i2v | Fotosuratlar→Videolar | prompt *, image=url *, image2=url, duration115s, =115s, quality=360p|540p|720p|1080p, generate_audio_switch=bool, generate_multi_clip_switch=bool, nsfw_checker=bool | MP4 | $0.045/sektga |
video/pixverse-v6-transition | Fotosuratlar→Videolar | prompt *, image=url *, image2=url *, duration115s, =115s, quality=360p|540p|720p|1080p, generate_audio_switch=bool, nsfw_checker=bool | MP4 | $0.045/sektga |
video/pixverse-v6-reference | Fotosuratlar→Videolar | prompt *, attachments=upload[] *, duration115s, =115s, quality=360p|540p|720p|1080p, generate_audio_switch=bool, aspect_ratio=16:9|4:3|1:1|3:4|9:16|2:3|3:2|21:9, nsfw_checker=bool | MP4 | 0.051$/seks |
video/kling-3.0 | matn matni→Videolar | prompt *, duration315s, =315s, =315s, aspect_ratio=16:9|9:16|1:1, mode=std|pro|4K, sound=bool, image=url, image2=url, nsfw_checker=bool | MP4 | $0.11/sektga ~ |
video/kling-t2v | matn matni→Videolar | prompt *, duration315s, =315s, =315s, aspect_ratio=16:9|9:16|1:1, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.11/sektga ~ |
video/kling-turbo-i2v | Fotosuratlar→Videolar | prompt *, image=url *, duration315s, =315s, =315s, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.11/sektga ~ |
video/kling-2.6-t2v | matn matni→Videolar | prompt *, duration=5|10, aspect_ratio=16:9|9:16|1:1, sound=bool, nsfw_checker=bool | MP4 | $0.34 |
video/kling-2.6-i2v | Fotosuratlar→Videolar | prompt *, image=url *, duration=5|10, sound=bool, nsfw_checker=bool | MP4 | $0.34 |
video/kling-2.5-t2v | matn matni→Videolar | prompt *, duration=5|10, aspect_ratio=16:9|9:16|1:1, nsfw_checker=bool | MP4 | $0.26 |
video/kling-2.5-i2v | Fotosuratlar→Videolar | prompt *, image=url *, image2=url, duration=5|10, nsfw_checker=bool | MP4 | $0.26 |
video/kling-i2v | Fotosuratlar→Videolar | prompt *, image=url *, image2=url, duration=5|10, nsfw_checker=bool | MP4 | $0.31 |
video/kling-2.1-standard | Fotosuratlar→Videolar | prompt *, image=url *, duration=5|10, nsfw_checker=bool | MP4 | $0.16 |
video/kling-2.1-master-t2v | matn matni→Videolar | prompt *, duration=5|10, aspect_ratio=16:9|9:16|1:1, nsfw_checker=bool | MP4 | $1.00 |
video/kling-2.1-master-i2v | Fotosuratlar→Videolar | prompt *, image=url *, duration=5|10, nsfw_checker=bool | MP4 | $1.00 |
video/kling-motion | Video→Videolar | image=url *, video_url *, prompt, mode=std|pro | MP4 | $1.25 |
video/kling-avatar | avatar (foto+audio) | image=url *, audio_url *, prompt * | MP4 | $0.75 |
video/kling-avatar-pro | avatar (foto+audio) | image=url *, audio_url *, prompt * | MP4 | $1.50 |
video/wan-2.7-t2v | matn matni→Videolar | prompt *, duration=215s, ratio=16:9|9:16|1:1|4:3|3:4, resolution=720p|1080p, audio_url, nsfw_checker=bool | MP4 | $0.15/seks |
video/wan-2.7-i2v | Fotosuratlar→Videolar | prompt *, image=url *, image2=url, duration=215s, resolution=720p|1080p, audio_url, nsfw_checker=bool | MP4 | $0.15/seks |
video/wan-2.7-r2v | Fotosuratlar→Videolar | prompt *, image=url *, duration210s, =210s, aspect_ratio=16:9|9:16|1:1, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.15/seks |
video/wan-2.7-edit | Video→Videolar | prompt *, video_url *, resolution=720p|1080p, audio_setting=auto|origin | MP4 | $1.50 |
video/wan-t2v | matn matni→Videolar | prompt *, duration=5|10|15, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.44 |
video/wan-i2v | Fotosuratlar→Videolar | prompt *, image=url *, duration=5|10|15, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.44 |
video/wan-v2v | Video→Videolar | prompt *, video_url *, duration=5|10, resolution=720p|1080p | MP4 | $0.44 |
video/wan-2.5-t2v | matn matni→Videolar | prompt *, duration=5|10, aspect_ratio=16:9|9:16|1:1, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.38 |
video/wan-2.5-i2v | Fotosuratlar→Videolar | prompt *, image=url *, duration=5|10, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.38 |
video/wan-2.2-t2v | matn matni→Videolar | prompt *, aspect_ratio=16:9|9:16, resolution=480p|720p, nsfw_checker=bool | MP4 | $0.50 |
video/wan-2.2-i2v | Fotosuratlar→Videolar | prompt *, image=url *, resolution=480p|720p, nsfw_checker=bool | MP4 | $0.50 |
video/wan-s2v | Avatar (foto+shunoslik) | prompt *, image=url *, audio_url *, resolution=480p|580p|720p | MP4 | $0.38 |
video/wan-animate-move | Video→Videolar | image=url *, video_url *, resolution=480p|580p|720p | MP4 | $0.38 |
video/wan-animate-replace | Video→Videolar | image=url *, video_url *, resolution=480p|580p|720p | MP4 | $0.38 |
video/seedance-2 | matn matni→Videolar | prompt *, duration415s, =415s, =415s aspect_ratio=16:9|9:16|1:1|4:3|21:9, resolution=480p|720p|1080p|4k, generate_audio=bool, image=url, image2=url, nsfw_checker=bool | MP4 | $0.26/sektga ~ |
video/seedance-2-fast | matn matni→Videolar | prompt *, duration415s, =415s, =415s aspect_ratio=16:9|9:16|1:1, resolution=480p|720p, generate_audio=bool, image=url, image2=url, nsfw_checker=bool | MP4 | $0.21/sektga ~ |
video/seedance-2-mini | matn matni→Videolar | prompt *, duration415s, =415s, =415s aspect_ratio=16:9|9:16|1:1, resolution=480p|720p, generate_audio=bool, image=url, image2=url, nsfw_checker=bool | MP4 | $0.13/seks |
video/seedance-1.5-pro | matn matni→Videolar | prompt *, duration412s, =412s, =412s aspect_ratio=16:9|9:16|1:1|4:3, resolution=480p|720p|1080p, generate_audio=bool, image=url, nsfw_checker=bool | MP4 | $0.025/seks |
video/hailuo-02-t2v | matn matni→Videolar | prompt *, duration=6|10, nsfw_checker=bool | MP4 | $0.19 |
video/hailuo-02-t2v-pro | text →video | prompt *, nsfw_checker=bool | MP4 | $0.36 |
video/hailuo-02-i2v | Fotosuratlar→Videolar | prompt *, image=url *, image2=url, duration=6|10, resolution=768P|512P, nsfw_checker=bool | MP4 | $0.19 |
video/hailuo-02-i2v-pro | Fotosuratlar→Videolar | prompt *, image=url *, image2=url, nsfw_checker=bool | MP4 | $0.36 |
video/hailuo-2.3-i2v | Fotosuratlar→Videolar | prompt *, image=url *, duration=6|10, resolution=768P|1080P, nsfw_checker=bool | MP4 | $0.19 |
video/hailuo-2.3-i2v-pro | Fotosuratlar→Videolar | prompt *, image=url *, duration=6|10, resolution=768P|1080P, nsfw_checker=bool | MP4 | $0.28 |
video/happyhorse-1.1-t2v | matn matni→Videolar | prompt *, duration315s, =315s, =315s, aspect_ratio=16:9|9:16|1:1|4:3|3:4, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.18/seks |
video/happyhorse-1.1-i2v | Fotosuratlar→Videolar | prompt, image=url *, duration315s, =315s, =315s, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.18/seks |
video/happyhorse-1.1-r2v | Fotosuratlar→Videolar | prompt *, image=url *, duration315s, =315s, =315s, aspect_ratio=16:9|9:16|1:1, resolution=720p|1080p, nsfw_checker=bool | MP4 | $0.18/seks |
video/happyhorse-t2v | matn matni→Videolar | prompt *, duration315s, =315s, =315s, aspect_ratio=16:9|9:16|1:1|4:3|3:4, resolution=720p|1080p, nsfw_checker=bool | MP4 | ** $0.30**/sekda |
video/happyhorse-i2v | Fotosuratlar→Videolar | prompt, image=url *, duration315s, =315s, =315s, resolution=720p|1080p, nsfw_checker=bool | MP4 | ** $0.30**/sekda |
video/happyhorse-edit | Video→Videolar | prompt *, video_url *, resolution=720p|1080p, audio_setting=auto|origin | MP4 | $1.50 |
video/grok-t2v | matn matni→Videolar | prompt *, duration630s, =630s, aspect_ratio=16:9|9:16|1:1|3:2|2:3, resolution=480p|720p, mode=normal|fun|spicy, nsfw_checker=bool | MP4 | $0.019/sektga |
video/grok-i2v | Fotosuratlar→Videolar | prompt *, image=url *, duration630s, =630s, resolution=480p|720p, mode=normal|fun|spicy, nsfw_checker=bool | MP4 | $0.019/sektga |
video/grok-1.5 | matn matni→Videolar | prompt *, duration115s, =115s, aspect_ratio=auto|16:9|9:16|1:1, resolution=480p|720p, image=url, nsfw_checker=bool | MP4 | $0.019/sektga |
video/omnihuman | Avatar (foto+shunoslik) | image=url *, audio_url *, prompt, output_resolution=720|1080 | MP4 | $1.69 |
video/infinitalk | Avatar (foto+shunoslik) | prompt *, image=url *, audio_url *, resolution=480p|720p | MP4 | $0.19 |
video/lipsync | Video→Videolar | video_url *, audio_url *, mode=lite|basic | MP4 | $0.50 |
video/topaz-upscale | apskeyl | video_url *, upscale_factor=2 | 4 | MP4 |
🎵 Musiqa
model | Modem | Parametrlar input | Fayl | Narxi Narxi |
|---|---|---|---|---|
music/suno-v5 | Musiqa. | title *, style *, version=V5_5|V5|V4_5ALL|V4_5PLUS|V4_5|V4, instrumental=bool, prompt | MP3 | $0.075 |
music/suno-cover | Musiqa. | prompt *, attachments=upload[] *, version=V5_5|V5|V4_5ALL|V4_5PLUS|V4_5|V4, instrumental=bool | MP3 | $0.075 |
music/suno-extend-upload | Musiqa. | prompt *, attachments=upload[] *, version=V5_5|V5|V4_5ALL|V4_5PLUS|V4_5|V4, continueAt=1–120, instrumental=bool | MP3 | $0.075 |
music/suno-add-vocals | Musiqa. | prompt *, attachments=upload[] *, version=V4_5PLUS, style, title, negativeTags, vocalGender=f|m | MP3 | $0.075 |
music/suno-add-instrumental | Musiqa. | prompt *, attachments=upload[] *, version=V4_5PLUS, title, negativeTags | MP3 | $0.075 |
music/suno-mashup | Musiqa. | prompt *, attachments=upload[] *, version=V5_5|V5|V4_5ALL|V4_5PLUS|V4_5|V4, instrumental=bool | MP3 | $0.075 |
music/suno-sounds | Musiqa. | prompt *, version=V5_5|V5|V4_5ALL|V4_5PLUS|V4_5|V4, soundLoop=bool, soundTempo=auto|60|80|100|120|140|160, soundKey=auto|C|Dm|Em|F|G|Am|D#m | MP3 | $0.016 |
Audio
model | Modem | Parametrlar input | Fayl | Narxi Narxi |
|---|---|---|---|---|
audio/gemini-3.1-flash-tts | Ovoz | text *, voice=Achernar|Achird|Algenib|Algieba|Alnilam|Aoede|Autonoe|Callirrhoe|Charon|Despina|Enceladus|Erinome|Fenrir|Gacrux|Iapetus|Kore|Laomedeia|Leda|Orus|Puck|Pulcherrima|Rasalgethi|Sadachbia|Sadaltager|Schedar|Sulafat|Umbriel|Vindemiatrix|Zephyr|Zubenelgenubi, style=Vocal Smile|Newscaster|Whisper|Empathetic|Promo/Hype|Deadpan, pace=Natural|Rapid Fire|The Drift|Staccato, accent=Neutral|American (Gen)|American (Valley)|American (South)|British (RP)|British (Brixton)|Transatlantic|Australian, audio_profile, scene, temperature=0–2 | WAV | $0.006 |
audio/gemini-2.5-pro-tts | Ovoz | text *, voice=Achernar|Achird|Algenib|Algieba|Alnilam|Aoede|Autonoe|Callirrhoe|Charon|Despina|Enceladus|Erinome|Fenrir|Gacrux|Iapetus|Kore|Laomedeia|Leda|Orus|Puck|Pulcherrima|Rasalgethi|Sadachbia|Sadaltager|Schedar|Sulafat|Umbriel|Vindemiatrix|Zephyr|Zubenelgenubi, style=Vocal Smile|Newscaster|Whisper|Empathetic|Promo/Hype|Deadpan, pace=Natural|Rapid Fire|The Drift|Staccato, accent=Neutral|American (Gen)|American (Valley)|American (South)|British (RP)|British (Brixton)|Transatlantic|Australian, audio_profile, scene, temperature=0–2 | WAV | $0.006 |
audio/elevenlabs-tts | Ovoz | text *, voice=James · Husky, Engaging and Bold|Addison · Australian, Audiobook & Podcast|Adeline · Feminine and Conversational|Allison · Calm, Soothing and Meditative|Ana Rita · Smooth, Expressive and Bright|Anika · Animated, Friendly and Engaging|Arabella · Mysterious and Emotive|Aria · Sultry Villain|Bella · Professional, Bright, Warm|Benjamin · Deep, Warm, Calming|Bradford · Expressive and Articulate|Brian · Deep, Resonant and Comforting|Britney · Calm and Calculative Villain|Brittney · Fun, Youthful & Informative|Brock · Commanding and Loud Sergeant|Burt · Deep, Smooth and Clear|Callum · Husky Trickster|Cassidy · Crisp, Direct and Clear|Ed · Late Night Announcer|Edward · Loud, Confident and Cocky|Emma · Adorable and Upbeat|Eve · Authentic, Energetic and Happy|Felix · Warm, Positive & Contemporary|Finn · Youthful, Eager and Energetic|Hank · Deep and Engaging Narrator|Hope · Poetic, Romantic and Captivating|Hope · Bubbly, Gossipy and Girly|Horatius · Energetic Character Voice|Jamahal · Young, Vibrant, and Natural|Jean · Alluring and Playful Femme Fatale|Jeff · Classy, Resonating and Strong|Jessica · Eloquent Villain|Jessica · Chatty and Friendly|John Doe · Deep|John Morgan · Gritty, Rugged Cowboy|Johnny Dynamite · Vintage Radio DJ|Johnny Kid · Serious and Calm Narrator|Kuon · Cheerful, Clear and Steady|Laura · Enthusiast, Quirky Attitude|Leon · Soothing and Grounded|Liam · Energetic, Social Media Creator|Lucy · Fresh & Casual|Lutz · Chuckling, Giggly and Cheerful|Mark · Casual, Relaxed and Light|Mark · Natural Conversations|Marshal · Friendly, Funny Professor|Monika · Deep and Natural|Nathan · Virtual Radio Host|Nathaniel · Engaging, British and Calm|Phil · Explosive, Passionate Announcer|Rachel · Pro British Radio Presenter|Rex Thunder · Deep N Tough|Sam · Support Agent|Spuds · Wise and Approachable|Sven · Emotional and Nice|Taksh · Calm, Serious and Smooth|Theodore · Serene and Grounded|Tiffany · Natural and Welcoming|Tom · Conversations & Books|Viking Bjorn · Epic Medieval Raider|Viraj · Smooth and Gentle|Viraj · Rich and Soft|Wyatt · Wise Rustic Cowboy|Xavier · Dominating, Metallic Announcer, voice_id, speed=0.8|1.0|1.2 | MP3 | $0.037 |
audio/elevenlabs-multilingual | Ovoz | text *, voice=James · Husky, Engaging and Bold|Addison · Australian, Audiobook & Podcast|Adeline · Feminine and Conversational|Allison · Calm, Soothing and Meditative|Ana Rita · Smooth, Expressive and Bright|Anika · Animated, Friendly and Engaging|Arabella · Mysterious and Emotive|Aria · Sultry Villain|Bella · Professional, Bright, Warm|Benjamin · Deep, Warm, Calming|Bradford · Expressive and Articulate|Brian · Deep, Resonant and Comforting|Britney · Calm and Calculative Villain|Brittney · Fun, Youthful & Informative|Brock · Commanding and Loud Sergeant|Burt · Deep, Smooth and Clear|Callum · Husky Trickster|Cassidy · Crisp, Direct and Clear|Ed · Late Night Announcer|Edward · Loud, Confident and Cocky|Emma · Adorable and Upbeat|Eve · Authentic, Energetic and Happy|Felix · Warm, Positive & Contemporary|Finn · Youthful, Eager and Energetic|Hank · Deep and Engaging Narrator|Hope · Poetic, Romantic and Captivating|Hope · Bubbly, Gossipy and Girly|Horatius · Energetic Character Voice|Jamahal · Young, Vibrant, and Natural|Jean · Alluring and Playful Femme Fatale|Jeff · Classy, Resonating and Strong|Jessica · Eloquent Villain|Jessica · Chatty and Friendly|John Doe · Deep|John Morgan · Gritty, Rugged Cowboy|Johnny Dynamite · Vintage Radio DJ|Johnny Kid · Serious and Calm Narrator|Kuon · Cheerful, Clear and Steady|Laura · Enthusiast, Quirky Attitude|Leon · Soothing and Grounded|Liam · Energetic, Social Media Creator|Lucy · Fresh & Casual|Lutz · Chuckling, Giggly and Cheerful|Mark · Casual, Relaxed and Light|Mark · Natural Conversations|Marshal · Friendly, Funny Professor|Monika · Deep and Natural|Nathan · Virtual Radio Host|Nathaniel · Engaging, British and Calm|Phil · Explosive, Passionate Announcer|Rachel · Pro British Radio Presenter|Rex Thunder · Deep N Tough|Sam · Support Agent|Spuds · Wise and Approachable|Sven · Emotional and Nice|Taksh · Calm, Serious and Smooth|Theodore · Serene and Grounded|Tiffany · Natural and Welcoming|Tom · Conversations & Books|Viking Bjorn · Epic Medieval Raider|Viraj · Smooth and Gentle|Viraj · Rich and Soft|Wyatt · Wise Rustic Cowboy|Xavier · Dominating, Metallic Announcer, voice_id, speed=0.8|1.0|1.2 | MP3 | $0.075 |
audio/elevenlabs-isolation | audio | audio_url * | MP3 | $0.063 |
Foydalanuvchilar
model | Modem | Parametrlar input | Fayl | Narxi Narxi |
|---|---|---|---|---|
image/topaz-upscale | apskayl | image=url *, upscale_factor=2|4|8 | PNG | $0.063 |
image/recraft-remove-bg | image=url | PNG | $0.006 | |
image/recraft-upscale | apskeyl | image=url * | PNG | $0.006 |
Rejimlar bo'yicha misollar
Matndan olingan rasm
{ "model": "image/flux2-pro", "input": { "prompt": "neon fox in snow", "aspect_ratio": "16:9", "resolution": "2K" } }Ressortni tuzatish
{ "model": "image/seedream-edit", "input": { "prompt": "убрать фон, добавить неон", "image": "https://…/photo.png" } }**Fotot→video (birinchi/so'nggi rasm, uzunlik, ovoz) **
{ "model": "video/wan-2.7-i2v", "input": {
"prompt": "плавный наезд камеры", "image": "https://…/first.png",
"image2": "https://…/last.png", "duration": 8, "resolution": "1080p" } }Muzika
{ "model": "music/suno-v5", "input": { "title": "Northern Lights", "style": "epic orchestral", "instrumental": true, "version": "V5_5" } }Tuvush
{ "model": "audio/gemini-3.1-flash-tts", "input": {
"text": "Привет, мир", "voice": "Zephyr", "style": "Empathetic",
"pace": "Natural", "accent": "Neutral" } }API muloqot uchun rasmiy arraylarni qabul qiladi speakers (12 ovoz) va dialogue_turns oddiy maydon o'rniga text
**Avatar (fotodan + audio-video bilan gapiruvchi video) **
{ "model": "video/omnihuman", "input": { "image": "https://…/face.png", "audio_url": "https://…/voice.mp3" } }Status va xatolar
GET /media/job/:id → maydon status:
| Status | Ma'nosi |
|---|---|
processing | Ishda so'rovni davom ettiring |
done | Hazrat fayl result_url faylida, hisobdan chiqarish cost_usd |
failed | Xato error sababini aniqlash uchun pul qaytarib berildi |
Javob kodlari POST /media/generate: 400 noma'lum model yoki majburiy maydon yo'q; 401 yo'q/qisqa kalit; 402 yetarlicha balans yo'q; 403 hisobda mavjud bo'lmagan model.
Oldindan qiymat bahoini aniqlash
curl https://nordrouter.com/media/estimate \
-H "Authorization: Bearer sk-nr-ВАШ-КЛЮЧ" -H "Content-Type: application/json" \
-d '{ "model": "video/kling-3.0", "input": { "duration": 10, "mode": "pro", "sound": true } }'{ "model": "video/kling-3.0", "usd": 1.6875 }Keybnoma xizmat ko'rsatkichlaridan (109 ta model) yaratilgan va har doim dolzarb narxlar va parametrlarga mos keladi.