Все API Suno для генерации, редактирования и инструментов используют асинхронные задачи: отправьте операцию, получите task_id и запросите результат через API этой страницы.
Основной endpoint требует version или custom_model_id из задачи создания модели. Операции редактирования используют v6, если version не указана. Публичную version и custom_model_id нельзя отправлять вместе.
custom: true выбирает режим пользовательского текста, а custom_model_id — обученную модель. Это разные понятия; режим текста не включает тариф модели автоматически.
Общие параметры генерации V6
Отправляйте следующие поля, только если они указаны для конкретного endpoint:
Поле
Описание
variety
Вариативность стиля: off / normal / high / extra / max
max_mode
Режим Max, по умолчанию false; при поддержке оплачивается по двойной цене
audio_format
mp3 / m4a / wav
duration / duration_s
Целевая длительность, целое от 10 до 360 секунд; только для указанных операций
Исключайте неподдерживаемые поля и не отправляйте везде max_mode: false. variety и Max независимы: variety: "max" не включает тарификацию Max.
Новые запросы операций используют weirdness; weirdness_constraint — совместимый псевдоним. Основная генерация по-прежнему использует weirdness_constraint. Длина считается в символах Unicode.
Исходная дорожка
На основе существующих работ:
task_id: ID задачи API Mart для выходной аудиодорожки.
audio_index: исходная позиция в data.result.music[] задачи-источника, начиная с 1; по умолчанию 1.
Показывайте фактическое число элементов массива, не фиксируя его на 2. Даже при изменении порядка отображения следующие операции должны использовать индекс исходного результата.
Новые запросы ссылаются на исходную дорожку через task_id + audio_index; audio_id, music_id и audio_url их не заменяют. Отсутствующий источник или индекс вне диапазона возвращает 400.
Прочитайте ID задачи из data[0].task_id. submitted означает только принятие задачи, а не наличие готового аудио или других результатов.
Получение задачи
GET /v1/music/tasks/{task_id}Добавьте ?language=zh, чтобы получить доступные переводы ошибок. Параметр не меняет язык песни или текста.
string
обязательно
ID задачи, возвращённый API отправки.
Сначала подождите около 3 секунд, затем опрашивайте каждые 5–10 секунд до completed или failed. После обновления страницы можно использовать тот же ID. Не повторяйте платный POST автоматически из-за сетевого тайм-аута.
Музыкальные результаты обычно находятся в data.result.music[], но загрузки, тексты, MIDI, Persona и пользовательские модели имеют собственные структуры.
duration — фактическая длительность и может быть дробной; целевая длительность не обязана точно совпадать с результатом.
Вес 0 допустим и не должен скрываться из-за falsy-проверки JavaScript.
audio_url не обязана оканчиваться на .mp3. Используйте фактически возвращённую URL.
При status="unknown" сохраняйте ID задачи и разрешайте ручное обновление, не создавая новую задачу автоматически.
AbortController останавливает запросы браузера и опрос, но не серверную задачу. Endpoint отмены отправленной задачи Suno отсутствует.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"APIMart","colors":{"primary":"#2563EB","light":"#3B82F6","dark":"#1D4ED8"},"favicon":"https://mintcdn.com/apicore/1GnRrmOhqkTFCvFb/logo/logo.png?fit=max\u0026auto=format\u0026n=1GnRrmOhqkTFCvFb\u0026q=85\u0026s=609be15c3f1f4e4b765c5945c2871ae9","navbar":{"links":[{"icon":"x-twitter","href":"https://x.com/APIMart_","label":""},{"icon":"discord","href":"https://discord.gg/V8zqssyZ5c","label":""},{"icon":"weixin","href":"https://cdn.apimart.ai/social-media/wechat.jpg","label":""}],"primary":{"type":"button","label":"Dashboard","href":"https://apimart.ai"}},"footer":{"socials":{"x":"https://x.com/APIMart_","website":"https://apimart.ai","discord":"https://discord.gg/V8zqssyZ5c"}},"seo":{"metatags":{"og:site_name":"APIMart","og:type":"website","keywords":"OpenAI compatible, API gateway, GPT-5, Claude, Gemini, multi-provider, transparent pricing, SLA","twitter:card":"summary_large_image","twitter:site":"@APIMart_","twitter:creator":"@APIMart_"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"en"},{"language":"zh-Hans","href":"cn"},{"language":"ja","href":"ja"},{"language":"ko","href":"ko"},{"language":"ru","href":"ru"},{"language":"de","href":"de"},{"language":"fr","href":"fr"},{"language":"pt","href":"pt"},{"language":"id","href":"id"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"apicore","hasAudioNarration":false,"actualSubdomain":"apicore","customDomains":["docs.apimart.ai"],"gitSource":{"type":"github","owner":"apimart-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae1c97b1297abb2484bbfc0"},"entitlements":{},"buildId":"6b07e5c0305265c875fe0488","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"zh-Hans","tag":"API 手册","count":178},{"language":"de","tag":"API-Handbuch","count":178},{"language":"en","tag":"API Manual","count":178},{"language":"es","tag":"Manual de la API","count":178},{"language":"fr","tag":"Manuel API","count":178},{"language":"id","tag":"Panduan API","count":178},{"language":"ja","tag":"APIマニュアル","count":178},{"language":"ko","tag":"API 매뉴얼","count":178},{"language":"pt","tag":"Manual da API","count":178},{"language":"ru","tag":"Руководство API","count":178},{"language":"zh-Hans","tag":"图像系列","count":57},{"language":"de","tag":"Bildserie","count":57},{"language":"en","tag":"Image Series","count":57},{"language":"es","tag":"Serie de imágenes","count":57},{"language":"fr","tag":"Série Image","count":57},{"language":"id","tag":"Seri Gambar","count":57},{"language":"ja","tag":"画像シリーズ","count":57},{"language":"ko","tag":"이미지 시리즈","count":57},{"language":"pt","tag":"Série de Imagem","count":57},{"language":"ru","tag":"Серия изображений","count":57},{"language":"zh-Hans","tag":"音频系列","count":51},{"language":"de","tag":"Audioserie","count":51},{"language":"en","tag":"Audio Series","count":51},{"language":"es","tag":"Serie de audio","count":51},{"language":"fr","tag":"Série Audio","count":51},{"language":"id","tag":"Seri Audio","count":51},{"language":"ja","tag":"オーディオシリーズ","count":51},{"language":"ko","tag":"오디오 시리즈","count":51},{"language":"pt","tag":"Série de Áudio","count":51},{"language":"ru","tag":"Аудиосерия","count":51},{"language":"zh-Hans","tag":"视频系列","count":48},{"language":"de","tag":"Videoserie","count":48},{"language":"en","tag":"Video Series","count":48},{"language":"es","tag":"Serie de video","count":48},{"language":"fr","tag":"Série Vidéo","count":48},{"language":"id","tag":"Seri Video","count":48},{"language":"ja","tag":"動画シリーズ","count":48},{"language":"ko","tag":"비디오 시리즈","count":48},{"language":"pt","tag":"Série de Vídeo","count":48},{"language":"ru","tag":"Видеосерия","count":48},{"language":"zh-Hans","tag":"Suno","count":35},{"language":"de","tag":"Suno","count":35},{"language":"en","tag":"Suno","count":35},{"language":"es","tag":"Suno","count":35},{"language":"fr","tag":"Suno","count":35},{"language":"id","tag":"Suno","count":35},{"language":"ja","tag":"Suno","count":35},{"language":"ko","tag":"Suno","count":35},{"language":"pt","tag":"Suno","count":35},{"language":"ru","tag":"Suno","count":35},{"language":"zh-Hans","tag":"Midjourney","count":19},{"language":"de","tag":"Midjourney","count":19},{"language":"en","tag":"Midjourney","count":19},{"language":"es","tag":"Midjourney","count":19},{"language":"fr","tag":"Midjourney","count":19},{"language":"id","tag":"Midjourney","count":19},{"language":"ja","tag":"Midjourney","count":19},{"language":"ko","tag":"Midjourney","count":19},{"language":"pt","tag":"Midjourney","count":19},{"language":"ru","tag":"Midjourney","count":19},{"language":"zh-Hans","tag":"Flow Music","count":14},{"language":"de","tag":"Flow Music","count":14},{"language":"en","tag":"Flow Music","count":14},{"language":"es","tag":"Flow Music","count":14},{"language":"fr","tag":"Flow Music","count":14},{"language":"id","tag":"Flow Music","count":14},{"language":"ja","tag":"Flow Music","count":14},{"language":"ko","tag":"Flow Music","count":14},{"language":"pt","tag":"Flow Music","count":14},{"language":"ru","tag":"Flow Music","count":14},{"language":"ja","tag":"よくある質問","count":12},{"language":"ko","tag":"자주 묻는 질문","count":12},{"language":"zh-Hans","tag":"集成指南","count":11},{"language":"de","tag":"Integrationen","count":11},{"language":"en","tag":"Integrations","count":11},{"language":"es","tag":"Integraciones","count":11},{"language":"fr","tag":"Intégrations","count":11},{"language":"id","tag":"Integrasi","count":11},{"language":"ja","tag":"統合ガイド","count":11},{"language":"ko","tag":"통합 가이드","count":11},{"language":"pt","tag":"Integrações","count":11},{"language":"ru","tag":"Интеграции","count":11},{"language":"zh-Hans","tag":"文字系列","count":10},{"language":"de","tag":"Textserie","count":10},{"language":"en","tag":"Text Series","count":10},{"language":"es","tag":"Serie de texto","count":10},{"language":"fr","tag":"Série Texte","count":10},{"language":"id","tag":"Seri Teks","count":10},{"language":"ja","tag":"テキストシリーズ","count":10},{"language":"ko","tag":"텍스트 시리즈","count":10},{"language":"pt","tag":"Série de Texto","count":10},{"language":"ru","tag":"Текстовая серия","count":10},{"language":"zh-Hans","tag":"概览","count":7},{"language":"de","tag":"Übersicht","count":7},{"language":"en","tag":"Overview","count":7},{"language":"es","tag":"Visión general","count":7},{"language":"fr","tag":"Aperçu","count":7},{"language":"id","tag":"Ikhtisar","count":7},{"language":"pt","tag":"Visão Geral","count":7},{"language":"ru","tag":"Обзор","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[id^=\"param-\"] a[href^=\"#param-\"]{display:none}[id^=\"param-\"] button[data-component-part=\"field-name\"]{display:inline-flex;align-items:center;gap:6px;margin:-2px -4px;padding:2px 4px;border-radius:6px;cursor:copy;user-select:text;transition:background-color 150ms ease}[id^=\"param-\"] button[data-component-part=\"field-name\"]:hover{background:rgb(37 99 235 / 8%)}[id^=\"param-\"] button[data-component-part=\"field-name\"]:not([data-copy-state])::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(100 116 139);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E\") center / contain no-repeat;transition:background-color 150ms ease}[id^=\"param-\"] button[data-component-part=\"field-name\"]:hover::after{background-color:rgb(37 99 235)}[id^=\"param-\"] button[data-component-part=\"field-name\"][data-copy-state=\"copied\"]::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(5 150 105);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E\") center / contain no-repeat}[id^=\"param-\"] button[data-component-part=\"field-name\"][data-copy-state=\"failed\"]::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(220 38 38);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E\") center / contain no-repeat}html.dark [id^=\"param-\"] button[data-component-part=\"field-name\"]:not([data-copy-state])::after{background-color:rgb(203 213 225)}"}]}
{"page":{"pagePath":"ru/api-reference/audios/suno/overview","slug":"/ru/api-reference/audios/suno/overview","pageMetadata":{"title":"Общие правила Suno V6 и получение задач","description":"Версии Suno V6, пользовательские модели, цикл асинхронных задач, ссылки на исходные дорожки и структура результатов","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/ru/api-reference/audios/suno/overview"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Версии Suno V6, пользовательские модели, цикл асинхронных задач, ссылки на исходные дорожки и структура результатов\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`Все API Suno для генерации, редактирования и инструментов используют асинхронные задачи: отправьте операцию, получите `,_jsx(_components.code,{children:`task_id`}),` и запросите результат через API этой страницы.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`аутентификация`,children:`Аутентификация`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Аутентификация Bearer Token: `,_jsx(_components.code,{children:`Authorization: Bearer \u003cYOUR_API_KEY>`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Перейдите на `,_jsx(_components.a,{href:`https://apimart.ai/keys`,children:`страницу управления API Key`}),`, чтобы получить API Key.`]}),`\n`,_jsx(Heading,{level:`2`,id:`версия-v6-и-выбор-модели`,children:`Версия V6 и выбор модели`}),`\n`,_jsx(_components.p,{children:`Публичные модели поддерживают версии:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`v6`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`v6-wild`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`v6-mini`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Основной endpoint требует `,_jsx(_components.code,{children:`version`}),` или `,_jsx(_components.code,{children:`custom_model_id`}),` из задачи создания модели. Операции редактирования используют `,_jsx(_components.code,{children:`v6`}),`, если `,_jsx(_components.code,{children:`version`}),` не указана. Публичную `,_jsx(_components.code,{children:`version`}),` и `,_jsx(_components.code,{children:`custom_model_id`}),` нельзя отправлять вместе.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom: true`}),` выбирает режим пользовательского текста, а `,_jsx(_components.code,{children:`custom_model_id`}),` — обученную модель. Это разные понятия; режим текста не включает тариф модели автоматически.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`общие-параметры-генерации-v6`,children:`Общие параметры генерации V6`}),`\n`,_jsx(_components.p,{children:`Отправляйте следующие поля, только если они указаны для конкретного endpoint:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Поле`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`variety`})}),_jsxs(_components.td,{children:[`Вариативность стиля: `,_jsx(_components.code,{children:`off`}),` / `,_jsx(_components.code,{children:`normal`}),` / `,_jsx(_components.code,{children:`high`}),` / `,_jsx(_components.code,{children:`extra`}),` / `,_jsx(_components.code,{children:`max`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_mode`})}),_jsxs(_components.td,{children:[`Режим Max, по умолчанию `,_jsx(_components.code,{children:`false`}),`; при поддержке оплачивается по двойной цене`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`audio_format`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mp3`}),` / `,_jsx(_components.code,{children:`m4a`}),` / `,_jsx(_components.code,{children:`wav`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration`}),` / `,_jsx(_components.code,{children:`duration_s`})]}),_jsx(_components.td,{children:`Целевая длительность, целое от 10 до 360 секунд; только для указанных операций`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Исключайте неподдерживаемые поля и не отправляйте везде `,_jsx(_components.code,{children:`max_mode: false`}),`. `,_jsx(_components.code,{children:`variety`}),` и Max независимы: `,_jsx(_components.code,{children:`variety: \"max\"`}),` не включает тарификацию Max.`]}),`\n`,_jsx(Heading,{level:`3`,id:`ограничения-текста-и-весов`,children:`Ограничения текста и весов`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Содержимое`}),_jsx(_components.th,{children:`Поле`}),_jsx(_components.th,{children:`Ограничение`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Описание идеи`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`prompt`}),` (основная генерация) / `,_jsx(_components.code,{children:`gpt_description`}),` (операции)`]}),_jsx(_components.td,{children:`До 3 000 символов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Текст песни`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`prompt`}),` (пользовательский режим)`]}),_jsx(_components.td,{children:`До 5 000 символов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Стиль`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`style`}),` (основная генерация) / `,_jsx(_components.code,{children:`tags`}),` (операции)`]}),_jsx(_components.td,{children:`До 1 000 символов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Название`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`До 80 символов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Веса`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`style_weight`}),` / `,_jsx(_components.code,{children:`weirdness`}),` / `,_jsx(_components.code,{children:`audio_weight`})]}),_jsxs(_components.td,{children:[`0–1; число `,_jsx(_components.code,{children:`0`}),` допустимо`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Новые запросы операций используют `,_jsx(_components.code,{children:`weirdness`}),`; `,_jsx(_components.code,{children:`weirdness_constraint`}),` — совместимый псевдоним. Основная генерация по-прежнему использует `,_jsx(_components.code,{children:`weirdness_constraint`}),`. Длина считается в символах Unicode.`]}),`\n`,_jsx(Heading,{level:`2`,id:`исходная-дорожка`,children:`Исходная дорожка`}),`\n`,_jsx(_components.p,{children:`На основе существующих работ:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`task_id`}),`: ID задачи API Mart для выходной аудиодорожки.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`audio_index`}),`: исходная позиция в `,_jsx(_components.code,{children:`data.result.music[]`}),` задачи-источника, начиная с 1; по умолчанию `,_jsx(_components.code,{children:`1`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Показывайте фактическое число элементов массива, не фиксируя его на 2. Даже при изменении порядка отображения следующие операции должны использовать индекс исходного результата.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Новые запросы ссылаются на исходную дорожку через `,_jsx(_components.code,{children:`task_id + audio_index`}),`; `,_jsx(_components.code,{children:`audio_id`}),`, `,_jsx(_components.code,{children:`music_id`}),` и `,_jsx(_components.code,{children:`audio_url`}),` их не заменяют. Отсутствующий источник или индекс вне диапазона возвращает `,_jsx(_components.code,{children:`400`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`ответ-на-отправку`,children:`Ответ на отправку`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"submitted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01M24YMN4EV04M84R5QYM77R1E\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Прочитайте ID задачи из `,_jsx(_components.code,{children:`data[0].task_id`}),`. `,_jsx(_components.code,{children:`submitted`}),` означает только принятие задачи, а не наличие готового аудио или других результатов.`]}),`\n`,_jsx(Heading,{level:`2`,id:`получение-задачи`,children:`Получение задачи`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`GET /v1/music/tasks/{task_id}`})}),`\n`,_jsxs(_components.p,{children:[`Добавьте `,_jsx(_components.code,{children:`?language=zh`}),`, чтобы получить доступные переводы ошибок. Параметр не меняет язык песни или текста.`]}),`\n`,_jsx(ParamField,{path:`task_id`,type:`string`,required:true,id:`param-task-id`,children:_jsx(_components.p,{children:`ID задачи, возвращённый API отправки.`})}),`\n`,_jsxs(_components.p,{children:[`Сначала подождите около 3 секунд, затем опрашивайте каждые 5–10 секунд до `,_jsx(_components.code,{children:`completed`}),` или `,_jsx(_components.code,{children:`failed`}),`. После обновления страницы можно использовать тот же ID. Не повторяйте платный POST автоматически из-за сетевого тайм-аута.`]}),`\n`,_jsx(Heading,{level:`2`,id:`ответ-на-запрос`,children:`Ответ на запрос`}),`\n`,_jsx(ResponseField,{name:`code`,type:`integer`,id:`param-code`,children:_jsx(_components.p,{children:`Код статуса ответа.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Информация о задаче.`}),_jsxs(Expandable,{title:`Свойства`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`ID задачи платформы.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`pending`}),` / `,_jsx(_components.code,{children:`processing`}),` / `,_jsx(_components.code,{children:`completed`}),` / `,_jsx(_components.code,{children:`failed`}),` / `,_jsx(_components.code,{children:`unknown`}),`.`]})}),_jsx(ResponseField,{name:`progress`,type:`number`,id:`param-progress`,children:_jsxs(_components.p,{children:[`Прогресс задачи, обычно 0–100. Завершение определяйте по `,_jsx(_components.code,{children:`status`}),`.`]})}),_jsx(ResponseField,{name:`created`,type:`number`,id:`param-created`,children:_jsx(_components.p,{children:`Время создания в секундах Unix.`})}),_jsx(ResponseField,{name:`estimated_time`,type:`number`,id:`param-estimated-time`,children:_jsx(_components.p,{children:`Оценка времени обработки в секундах, только для справки, а не гарантированный обратный отсчёт.`})}),_jsx(ResponseField,{name:`cost`,type:`number`,id:`param-cost`,children:_jsx(_components.p,{children:`Сумма (USD).`})}),_jsx(ResponseField,{name:`credits_cost`,type:`number`,id:`param-credits-cost`,children:_jsx(_components.p,{children:`Баллы, израсходованные задачей. Показывайте значение ответа API без изменений.`})}),_jsx(ResponseField,{name:`result`,type:`object`,id:`param-result`,children:_jsx(_components.p,{children:`Результат после завершения; структура зависит от операции.`})}),_jsx(ResponseField,{name:`error`,type:`object`,id:`param-error`,children:_jsxs(_components.p,{children:[`Сообщение об ошибке; обычные поля: `,_jsx(_components.code,{children:`message`}),` / `,_jsx(_components.code,{children:`type`}),` / `,_jsx(_components.code,{children:`code`}),` / `,_jsx(_components.code,{children:`param`}),`.`]})})]})]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`обработка-результата`,children:`Обработка результата`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Музыкальные результаты обычно находятся в `,_jsx(_components.code,{children:`data.result.music[]`}),`, но загрузки, тексты, MIDI, Persona и пользовательские модели имеют собственные структуры.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`duration`}),` — фактическая длительность и может быть дробной; целевая длительность не обязана точно совпадать с результатом.`]}),`\n`,_jsxs(_components.li,{children:[`Вес `,_jsx(_components.code,{children:`0`}),` допустим и не должен скрываться из-за falsy-проверки JavaScript.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`audio_url`}),` не обязана оканчиваться на `,_jsx(_components.code,{children:`.mp3`}),`. Используйте фактически возвращённую URL.`]}),`\n`,_jsxs(_components.li,{children:[`При `,_jsx(_components.code,{children:`status=\"unknown\"`}),` сохраняйте ID задачи и разрешайте ручное обновление, не создавая новую задачу автоматически.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`AbortController`}),` останавливает запросы браузера и опрос, но не серверную задачу. Endpoint отмены отправленной задачи Suno отсутствует.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Общие правила Suno V6 и получение задач","description":"Версии Suno V6, пользовательские модели, цикл асинхронных задач, ссылки на исходные дорожки и структура результатов","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/ru/api-reference/audios/suno/overview"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,ResponseExample,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`Все API Suno для генерации, редактирования и инструментов используют асинхронные задачи: отправьте операцию, получите `,_jsx(_components.code,{children:`task_id`}),` и запросите результат через API этой страницы.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`аутентификация`,children:`Аутентификация`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Аутентификация Bearer Token: `,_jsx(_components.code,{children:`Authorization: Bearer \u003cYOUR_API_KEY>`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Перейдите на `,_jsx(_components.a,{href:`https://apimart.ai/keys`,children:`страницу управления API Key`}),`, чтобы получить API Key.`]}),`\n`,_jsx(Heading,{level:`2`,id:`версия-v6-и-выбор-модели`,children:`Версия V6 и выбор модели`}),`\n`,_jsx(_components.p,{children:`Публичные модели поддерживают версии:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`v6`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`v6-wild`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`v6-mini`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Основной endpoint требует `,_jsx(_components.code,{children:`version`}),` или `,_jsx(_components.code,{children:`custom_model_id`}),` из задачи создания модели. Операции редактирования используют `,_jsx(_components.code,{children:`v6`}),`, если `,_jsx(_components.code,{children:`version`}),` не указана. Публичную `,_jsx(_components.code,{children:`version`}),` и `,_jsx(_components.code,{children:`custom_model_id`}),` нельзя отправлять вместе.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom: true`}),` выбирает режим пользовательского текста, а `,_jsx(_components.code,{children:`custom_model_id`}),` — обученную модель. Это разные понятия; режим текста не включает тариф модели автоматически.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`общие-параметры-генерации-v6`,children:`Общие параметры генерации V6`}),`\n`,_jsx(_components.p,{children:`Отправляйте следующие поля, только если они указаны для конкретного endpoint:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Поле`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`variety`})}),_jsxs(_components.td,{children:[`Вариативность стиля: `,_jsx(_components.code,{children:`off`}),` / `,_jsx(_components.code,{children:`normal`}),` / `,_jsx(_components.code,{children:`high`}),` / `,_jsx(_components.code,{children:`extra`}),` / `,_jsx(_components.code,{children:`max`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_mode`})}),_jsxs(_components.td,{children:[`Режим Max, по умолчанию `,_jsx(_components.code,{children:`false`}),`; при поддержке оплачивается по двойной цене`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`audio_format`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mp3`}),` / `,_jsx(_components.code,{children:`m4a`}),` / `,_jsx(_components.code,{children:`wav`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration`}),` / `,_jsx(_components.code,{children:`duration_s`})]}),_jsx(_components.td,{children:`Целевая длительность, целое от 10 до 360 секунд; только для указанных операций`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Исключайте неподдерживаемые поля и не отправляйте везде `,_jsx(_components.code,{children:`max_mode: false`}),`. `,_jsx(_components.code,{children:`variety`}),` и Max независимы: `,_jsx(_components.code,{children:`variety: \"max\"`}),` не включает тарификацию Max.`]}),`\n`,_jsx(Heading,{level:`3`,id:`ограничения-текста-и-весов`,children:`Ограничения текста и весов`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Содержимое`}),_jsx(_components.th,{children:`Поле`}),_jsx(_components.th,{children:`Ограничение`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Описание идеи`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`prompt`}),` (основная генерация) / `,_jsx(_components.code,{children:`gpt_description`}),` (операции)`]}),_jsx(_components.td,{children:`До 3 000 символов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Текст песни`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`prompt`}),` (пользовательский режим)`]}),_jsx(_components.td,{children:`До 5 000 символов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Стиль`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`style`}),` (основная генерация) / `,_jsx(_components.code,{children:`tags`}),` (операции)`]}),_jsx(_components.td,{children:`До 1 000 символов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Название`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`До 80 символов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Веса`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`style_weight`}),` / `,_jsx(_components.code,{children:`weirdness`}),` / `,_jsx(_components.code,{children:`audio_weight`})]}),_jsxs(_components.td,{children:[`0–1; число `,_jsx(_components.code,{children:`0`}),` допустимо`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Новые запросы операций используют `,_jsx(_components.code,{children:`weirdness`}),`; `,_jsx(_components.code,{children:`weirdness_constraint`}),` — совместимый псевдоним. Основная генерация по-прежнему использует `,_jsx(_components.code,{children:`weirdness_constraint`}),`. Длина считается в символах Unicode.`]}),`\n`,_jsx(Heading,{level:`2`,id:`исходная-дорожка`,children:`Исходная дорожка`}),`\n`,_jsx(_components.p,{children:`На основе существующих работ:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`task_id`}),`: ID задачи API Mart для выходной аудиодорожки.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`audio_index`}),`: исходная позиция в `,_jsx(_components.code,{children:`data.result.music[]`}),` задачи-источника, начиная с 1; по умолчанию `,_jsx(_components.code,{children:`1`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Показывайте фактическое число элементов массива, не фиксируя его на 2. Даже при изменении порядка отображения следующие операции должны использовать индекс исходного результата.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Новые запросы ссылаются на исходную дорожку через `,_jsx(_components.code,{children:`task_id + audio_index`}),`; `,_jsx(_components.code,{children:`audio_id`}),`, `,_jsx(_components.code,{children:`music_id`}),` и `,_jsx(_components.code,{children:`audio_url`}),` их не заменяют. Отсутствующий источник или индекс вне диапазона возвращает `,_jsx(_components.code,{children:`400`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`ответ-на-отправку`,children:`Ответ на отправку`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"submitted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01M24YMN4EV04M84R5QYM77R1E\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Прочитайте ID задачи из `,_jsx(_components.code,{children:`data[0].task_id`}),`. `,_jsx(_components.code,{children:`submitted`}),` означает только принятие задачи, а не наличие готового аудио или других результатов.`]}),`\n`,_jsx(Heading,{level:`2`,id:`получение-задачи`,children:`Получение задачи`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`GET /v1/music/tasks/{task_id}`})}),`\n`,_jsxs(_components.p,{children:[`Добавьте `,_jsx(_components.code,{children:`?language=zh`}),`, чтобы получить доступные переводы ошибок. Параметр не меняет язык песни или текста.`]}),`\n`,_jsx(ParamField,{path:`task_id`,type:`string`,required:true,id:`param-task-id`,children:_jsx(_components.p,{children:`ID задачи, возвращённый API отправки.`})}),`\n`,_jsxs(_components.p,{children:[`Сначала подождите около 3 секунд, затем опрашивайте каждые 5–10 секунд до `,_jsx(_components.code,{children:`completed`}),` или `,_jsx(_components.code,{children:`failed`}),`. После обновления страницы можно использовать тот же ID. Не повторяйте платный POST автоматически из-за сетевого тайм-аута.`]}),`\n`,_jsx(Heading,{level:`2`,id:`ответ-на-запрос`,children:`Ответ на запрос`}),`\n`,_jsx(ResponseField,{name:`code`,type:`integer`,id:`param-code`,children:_jsx(_components.p,{children:`Код статуса ответа.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Информация о задаче.`}),_jsxs(Expandable,{title:`Свойства`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`ID задачи платформы.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`pending`}),` / `,_jsx(_components.code,{children:`processing`}),` / `,_jsx(_components.code,{children:`completed`}),` / `,_jsx(_components.code,{children:`failed`}),` / `,_jsx(_components.code,{children:`unknown`}),`.`]})}),_jsx(ResponseField,{name:`progress`,type:`number`,id:`param-progress`,children:_jsxs(_components.p,{children:[`Прогресс задачи, обычно 0–100. Завершение определяйте по `,_jsx(_components.code,{children:`status`}),`.`]})}),_jsx(ResponseField,{name:`created`,type:`number`,id:`param-created`,children:_jsx(_components.p,{children:`Время создания в секундах Unix.`})}),_jsx(ResponseField,{name:`estimated_time`,type:`number`,id:`param-estimated-time`,children:_jsx(_components.p,{children:`Оценка времени обработки в секундах, только для справки, а не гарантированный обратный отсчёт.`})}),_jsx(ResponseField,{name:`cost`,type:`number`,id:`param-cost`,children:_jsx(_components.p,{children:`Сумма (USD).`})}),_jsx(ResponseField,{name:`credits_cost`,type:`number`,id:`param-credits-cost`,children:_jsx(_components.p,{children:`Баллы, израсходованные задачей. Показывайте значение ответа API без изменений.`})}),_jsx(ResponseField,{name:`result`,type:`object`,id:`param-result`,children:_jsx(_components.p,{children:`Результат после завершения; структура зависит от операции.`})}),_jsx(ResponseField,{name:`error`,type:`object`,id:`param-error`,children:_jsxs(_components.p,{children:[`Сообщение об ошибке; обычные поля: `,_jsx(_components.code,{children:`message`}),` / `,_jsx(_components.code,{children:`type`}),` / `,_jsx(_components.code,{children:`code`}),` / `,_jsx(_components.code,{children:`param`}),`.`]})})]})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`completed`,numberOfLines:`31`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01M24YMN4EV04M84R5QYM77R1E\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1789041600`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"music\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example-track-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"complete\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"follow the lights\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lyrics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[Verse]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`the late wind blows over familiar streets\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pop, acoustic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display_tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pop, Acoustic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"negative_tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"harsh vocals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"style_weight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.7`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"weirdness_constraint\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_weight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`119.8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/result.mp3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/cover.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_large_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/cover-large.jpg\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`failed`,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01M24YMN4EV04M84R5QYM77R1E\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task failure reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"param\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`обработка-результата`,children:`Обработка результата`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Музыкальные результаты обычно находятся в `,_jsx(_components.code,{children:`data.result.music[]`}),`, но загрузки, тексты, MIDI, Persona и пользовательские модели имеют собственные структуры.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`duration`}),` — фактическая длительность и может быть дробной; целевая длительность не обязана точно совпадать с результатом.`]}),`\n`,_jsxs(_components.li,{children:[`Вес `,_jsx(_components.code,{children:`0`}),` допустим и не должен скрываться из-за falsy-проверки JavaScript.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`audio_url`}),` не обязана оканчиваться на `,_jsx(_components.code,{children:`.mp3`}),`. Используйте фактически возвращённую URL.`]}),`\n`,_jsxs(_components.li,{children:[`При `,_jsx(_components.code,{children:`status=\"unknown\"`}),` сохраняйте ID задачи и разрешайте ручное обновление, не создавая новую задачу автоматически.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`AbortController`}),` останавливает запросы браузера и опрос, но не серверную задачу. Endpoint отмены отправленной задачи Suno отсутствует.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Общие правила Suno V6 и получение задач","description":"Версии Suno V6, пользовательские модели, цикл асинхронных задач, ссылки на исходные дорожки и структура результатов","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/ru/api-reference/audios/suno/overview"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Аутентификация","slug":"аутентификация","depth":2,"children":[]},{"title":"Версия V6 и выбор модели","slug":"версия-v6-и-выбор-модели","depth":2,"children":[{"title":"Общие параметры генерации V6","slug":"общие-параметры-генерации-v6","depth":3,"children":[]},{"title":"Ограничения текста и весов","slug":"ограничения-текста-и-весов","depth":3,"children":[]}]},{"title":"Исходная дорожка","slug":"исходная-дорожка","depth":2,"children":[]},{"title":"Ответ на отправку","slug":"ответ-на-отправку","depth":2,"children":[]},{"title":"Получение задачи","slug":"получение-задачи","depth":2,"children":[]},{"title":"Ответ на запрос","slug":"ответ-на-запрос","depth":2,"children":[]},{"title":"Обработка результата","slug":"обработка-результата","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"completed","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"31\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_01M24YMN4EV04M84R5QYM77R1E\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"completed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"progress\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">100\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1789041600\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cost\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.12\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"credits_cost\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1.2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"music\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"audio_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example-track-id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"complete\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"follow the lights\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lyrics\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"[Verse]\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\n\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">the late wind blows over familiar streets\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tags\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pop, acoustic\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"display_tags\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Pop, Acoustic\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"negative_tags\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"harsh vocals\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"style_weight\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.7\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"weirdness_constraint\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"audio_weight\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.4\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">119.8\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"audio_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://example.com/result.mp3\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"image_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://example.com/cover.jpg\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"image_large_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://example.com/cover-large.jpg\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"failed","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_01M24YMN4EV04M84R5QYM77R1E\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"progress\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cost\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"credits_cost\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task failure reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"param\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Общие правила Suno V6 и получение задач","path":"/v1/music/tasks/{task_id}","servers":[{"url":"https://api.apimart.ai"}],"method":"get","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Аутентификация Bearer Token: `Authorization: Bearer \u003cYOUR_API_KEY>` .","required":true}]}},"cookie":{},"path":{"task_id":{"schema":[{"type":"string","description":"ID задачи, возвращённый API отправки.","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"code":[{"type":"integer","description":"Код статуса ответа."}],"data":[{"type":"object","properties":{"id":[{"type":"string","description":"ID задачи платформы."}],"status":[{"type":"string","description":"`pending` / `processing` / `completed` / `failed` / `unknown` ."}],"progress":[{"type":"number","description":"Прогресс задачи, обычно 0–100. Завершение определяйте по `status` ."}],"created":[{"type":"number","description":"Время создания в секундах Unix."}],"estimated_time":[{"type":"number","description":"Оценка времени обработки в секундах, только для справки, а не гарантированный обратный отсчёт."}],"cost":[{"type":"number","description":"Сумма (USD)."}],"credits_cost":[{"type":"number","description":"Баллы, израсходованные задачей. Показывайте значение ответа API без изменений."}],"result":[{"type":"object","properties":{},"description":"Результат после завершения; структура зависит от операции."}],"error":[{"type":"object","properties":{},"description":"Сообщение об ошибке; обычные поля: `message` / `type` / `code` / `param` ."}]},"description":"Информация о задаче."}]}}],"examples":{"example":{"value":{"code":123,"data":{"id":"\u003cstring>","status":"\u003cstring>","progress":123,"created":123,"estimated_time":123,"cost":123,"credits_cost":123,"result":{},"error":{}}}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/apicore/1f7e29c94a916812/cn-domain-rewrite.js","/_mintlify/custom/apicore/afc6076845564106/param-field-copy.js"],"subdomain":"apicore","siteName":"APIMart","title":"Общие правила Suno V6 и получение задач - APIMart","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/audios/suno/overview","matchLevel":1},"zh-Hans":{"href":"/cn/api-reference/audios/suno/overview","matchLevel":1},"ja":{"href":"/ja/api-reference/audios/suno/overview","matchLevel":1},"ko":{"href":"/ko/api-reference/audios/suno/overview","matchLevel":1},"ru":{"href":"/ru/api-reference/audios/suno/overview","matchLevel":0},"de":{"href":"/de/api-reference/audios/suno/overview","matchLevel":1},"fr":{"href":"/fr/api-reference/audios/suno/overview","matchLevel":1},"pt":{"href":"/pt/api-reference/audios/suno/overview","matchLevel":1},"id":{"href":"/id/api-reference/audios/suno/overview","matchLevel":1},"es":{"href":"/es/api-reference/audios/suno/overview","matchLevel":1}}},"lastModified":"2026-11-20T08:38:12.794Z","originalFileLocation":"ru/api-reference/audios/suno/overview.mdx","locale":"ru"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Версии Suno V6, пользовательские модели, цикл асинхронных задач, ссылки на исходные дорожки и структура результатов\">\u003cmeta data-mint-head name=\"keywords\" content=\"OpenAI compatible, API gateway, GPT-5, Claude, Gemini, multi-provider, transparent pricing, SLA\">\u003cmeta data-mint-head name=\"application-name\" content=\"APIMart\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Общие правила Suno V6 и получение задач - APIMart\">\u003cmeta data-mint-head property=\"og:description\" content=\"Версии Suno V6, пользовательские модели, цикл асинхронных задач, ссылки на исходные дорожки и структура результатов\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"APIMart\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://apicore.mintlify.site/_mintlify/api/og/v2?division=Suno\u0026amp;title=%D0%9E%D0%B1%D1%89%D0%B8%D0%B5+%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D0%B0+Suno+V6+%D0%B8+%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D0%B5+%D0%B7%D0%B0%D0%B4%D0%B0%D1%87\u0026amp;description=%D0%92%D0%B5%D1%80%D1%81%D0%B8%D0%B8+Suno+V6%2C+%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B8%D0%B5+%D0%BC%D0%BE%D0%B4%D0%B5%D0%BB%D0%B8%2C+%D1%86%D0%B8%D0%BA%D0%BB+%D0%B0%D1%81%D0%B8%D0%BD%D1%85%D1%80%D0%BE%D0%BD%D0%BD%D1%8B%D1%85+%D0%B7%D0%B0%D0%B4%D0%B0%D1%87%2C+%D1%81%D1%81%D1%8B%D0%BB%D0%BA%D0%B8+%D0%BD%D0%B0+%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%BD%D1%8B%D0%B5+%D0%B4%D0%BE%D1%80%D0%BE%D0%B6%D0%BA%D0%B8+%D0%B8+%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D1%83%D1%80%D0%B0+%D1%80%D0%B5%D0%B7%D1%83%D0%BB%D1%8C%D1%82%D0%B0%D1%82%D0%BE%D0%B2\u0026amp;theme=20cab0b8d8d3e93733d26c49\u0026amp;signature=00e899d34cc4468a9f8946bd8afaf014a01b7895cb14323227f8e7d38fa6d469\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Общие правила Suno V6 и получение задач - APIMart\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Версии Suno V6, пользовательские модели, цикл асинхронных задач, ссылки на исходные дорожки и структура результатов\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://apicore.mintlify.site/_mintlify/api/og/v2?division=Suno\u0026amp;title=%D0%9E%D0%B1%D1%89%D0%B8%D0%B5+%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D0%B0+Suno+V6+%D0%B8+%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D0%B5+%D0%B7%D0%B0%D0%B4%D0%B0%D1%87\u0026amp;description=%D0%92%D0%B5%D1%80%D1%81%D0%B8%D0%B8+Suno+V6%2C+%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B8%D0%B5+%D0%BC%D0%BE%D0%B4%D0%B5%D0%BB%D0%B8%2C+%D1%86%D0%B8%D0%BA%D0%BB+%D0%B0%D1%81%D0%B8%D0%BD%D1%85%D1%80%D0%BE%D0%BD%D0%BD%D1%8B%D1%85+%D0%B7%D0%B0%D0%B4%D0%B0%D1%87%2C+%D1%81%D1%81%D1%8B%D0%BB%D0%BA%D0%B8+%D0%BD%D0%B0+%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%BD%D1%8B%D0%B5+%D0%B4%D0%BE%D1%80%D0%BE%D0%B6%D0%BA%D0%B8+%D0%B8+%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D1%83%D1%80%D0%B0+%D1%80%D0%B5%D0%B7%D1%83%D0%BB%D1%8C%D1%82%D0%B0%D1%82%D0%BE%D0%B2\u0026amp;theme=20cab0b8d8d3e93733d26c49\u0026amp;signature=00e899d34cc4468a9f8946bd8afaf014a01b7895cb14323227f8e7d38fa6d469\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"APIMart\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@APIMart_\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ru/api-reference/audios/suno/overview.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.apimart.ai/en/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://docs.apimart.ai/cn/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.apimart.ai/ja/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.apimart.ai/ko/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.apimart.ai/de/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.apimart.ai/fr/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.apimart.ai/pt/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://docs.apimart.ai/id/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.apimart.ai/es/api-reference/audios/suno/overview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.apimart.ai/en/api-reference/audios/suno/overview\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.apimart.ai/#organization\",\"name\":\"APIMart\",\"url\":\"https://docs.apimart.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.apimart.ai#website\",\"name\":\"APIMart\",\"url\":\"https://docs.apimart.ai\",\"publisher\":{\"@id\":\"https://docs.apimart.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview#webpage\",\"url\":\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview\",\"name\":\"Общие правила Suno V6 и получение задач\",\"description\":\"Версии Suno V6, пользовательские модели, цикл асинхронных задач, ссылки на исходные дорожки и структура результатов\",\"dateModified\":\"2026-11-20T08:38:12.794Z\",\"isPartOf\":{\"@id\":\"https://docs.apimart.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Аудиосерия\",\"item\":\"https://docs.apimart.ai/ru/api-reference/audios/whisper-1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Общие правила Suno V6 и получение задач\",\"item\":\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview#apireference\",\"headline\":\"Общие правила Suno V6 и получение задач\",\"name\":\"Общие правила Suno V6 и получение задач\",\"description\":\"Версии Suno V6, пользовательские модели, цикл асинхронных задач, ссылки на исходные дорожки и структура результатов\",\"url\":\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.apimart.ai/ru/api-reference/audios/suno/overview#webpage\"},\"dateModified\":\"2026-11-20T08:38:12.794Z\",\"publisher\":{\"@id\":\"https://docs.apimart.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.apimart.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"APIMart\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"APIMart\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ru/api-reference/audios/suno/overview.md","siteName":"APIMart","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/en/api-reference/audios/suno/overview"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/cn/api-reference/audios/suno/overview"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/audios/suno/overview"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/audios/suno/overview"}]},{"language":"ru","tabs":[{"tab":"Руководство API","groups":[{"group":"Обзор","pages":[{"title":"APIMart — OpenAI-совместимый API-шлюз (GPT-5, Claude, Gemini)","href":"/ru"}]},{"group":"Модели","pages":[{"title":"API метаданных списка моделей","api":"GET https://api.apimart.ai/v1/models","href":"/ru/api-reference/texts/models/list"}]},{"group":"Текстовая серия","icon":"text","pages":[{"title":"Универсальный Chat API (стриминг по умолчанию)","api":"POST https://api.apimart.ai/v1/chat/completions","href":"/ru/api-reference/texts/general/chat-completions"},{"title":"Универсальный Chat API (без стриминга по умолчанию)","api":"POST https://api.apimart.ai/api/v1/chat/completions","href":"/ru/api-reference/texts/general/chat-completions-nostream"},{"title":"Claude Messages API","api":"POST https://api.apimart.ai/v1/messages","href":"/ru/api-reference/texts/general/claude-messages"},{"title":"Нативный формат Gemini","api":"POST https://api.apimart.ai/v1beta/models/{model}:{method}","href":"/ru/api-reference/texts/gemini/quickstart"},{"title":"OpenAI Multimodal Responses API","api":"POST https://api.apimart.ai/v1/responses","href":"/ru/api-reference/texts/openai/responses"},{"title":"Руководство по кэшированию контекста OpenAI","sidebarTitle":"Кэш контекста OpenAI","icon":"database","href":"/ru/api-reference/texts/openai/context-cache"},{"title":"Руководство по контекстному кэшу Gemini","sidebarTitle":"Контекстный кэш Gemini","icon":"database","href":"/ru/api-reference/texts/gemini/context-cache"},{"title":"Руководство по контекстному кэшу Claude","sidebarTitle":"Контекстный кэш Claude","icon":"database","href":"/ru/api-reference/texts/general/claude-context-cache"},{"group":"qwen3.8-max","icon":"message","pages":[{"title":"qwen3.8-max Integration Guide","api":"POST https://api.apimart.ai/v1/chat/completions","href":"/ru/api-reference/texts/qwen3.8-max/guide"},{"title":"Model Pricing API","api":"GET https://api.apimart.ai/api/pricing/model?model=qwen3.8-max","href":"/ru/api-reference/texts/qwen3.8-max/pricing"}]}]},{"group":"Серия изображений","icon":"image","pages":[{"group":"Nano banana 2.1","icon":"image","pages":[{"title":"Nano banana 2.1 Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gemini-nano-banana-2.1/generation"}]},{"group":"Nano banana2","icon":"image","pages":[{"title":"Nano banana2 Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gemini-3.1-flash/generation"},{"title":"Nano Banana Lite Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gemini-3.1-flash/generation-lite"}]},{"group":"Nano banana Pro","icon":"image","pages":[{"title":"Nano banana Pro Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gemini-3-pro/generation"}]},{"group":"Nano banana","icon":"image","pages":[{"title":"Nano banana Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gemini-2.5-flash/generation"}]},{"group":"GPT-Image-1.5","icon":"image","pages":[{"title":"Генерация изображений GPT-Image-1.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gpt-image-1/generation"}]},{"group":"GPT-Image-2","icon":"image","pages":[{"title":"Генерация изображений GPT-Image-2","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gpt-image-2/generation"},{"title":"Генерация изображений GPT-Image-2 (официальный канал)","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gpt-image-2/official"}]},{"group":"GPT-Image-2.5","icon":"image","pages":[{"title":"Генерация изображений GPT-Image-2.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gpt-image-2.5/generation"}]},{"group":"GPT-Image-2.5 Ext","icon":"image","pages":[{"title":"GPT-Image-2.5 Ext — генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gpt-image-2.5-ext/generation"}]},{"group":"GPT-Image-2.6","icon":"image","pages":[{"title":"GPT-Image-2.6 Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gpt-image-2.6/generation"}]},{"group":"GPT-Image-2.6 Ext","icon":"image","pages":[{"title":"GPT-Image-2.6 Ext Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/gpt-image-2.6-ext/generation"}]},{"group":"Seedream-4.0","icon":"image","pages":[{"title":"Генерация изображений Seedream-4.0","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/seedream-4/generation"}]},{"group":"Seedream-4.5","icon":"image","pages":[{"title":"Генерация изображений Seedream-4.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/seedream-4.5/generation"}]},{"group":"Seedream-5.0-Lite","icon":"image","pages":[{"title":"Генерация изображений Seedream-5.0-Lite","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/seedream-5-lite/generation"}]},{"group":"Seedream-5.0-Pro","icon":"image","pages":[{"title":"Генерация изображений Seedream-5.0-Pro","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/seedream-5-0-pro/generation"}]},{"group":"Seedream-5.0-Flash","icon":"image","pages":[{"title":"Генерация изображений Seedream-5.0-Flash","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/seedream-5-0-flash/generation"}]},{"group":"Seedream-5.5","icon":"image","pages":[{"title":"Генерация изображений Seedream 5.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/seedream-5-5/generation"}]},{"group":"Kling V4 Image","icon":"image","pages":[{"title":"Генерация изображений Kling V4 Image","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/kling-v4-image/generation"}]},{"group":"Kling V4 Long Image","icon":"image","pages":[{"title":"Генерация длинных изображений Kling V4 Long Image","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/kling-v4-long-image/generation"}]},{"group":"Flux Kontext","icon":"image","pages":[{"title":"Генерация изображений Flux Kontext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/flux-kontext/generation"}]},{"group":"Flux 2.0","icon":"image","pages":[{"title":"Генерация изображений Flux 2.0","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/flux-2/generation"}]},{"group":"FLUX 3 Image","icon":"image","pages":[{"title":"FLUX 3 Image Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/flux-3-image/generation"}]},{"group":"FLUX 3 Image Klein","icon":"image","pages":[{"title":"FLUX 3 Image Klein Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/flux-3-image-klein/generation"}]},{"group":"Hy-Image-3.5 Preview","icon":"image","pages":[{"title":"Hy-Image-3.5 Preview Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/hy-image-v3.5-preview/generation"}]},{"group":"Muse Image Ext","icon":"image","pages":[{"title":"Генерация изображений Muse Image Ext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/muse-image-ext/generation"}]},{"group":"MAI-Image-2.7","icon":"image","pages":[{"title":"Генерация изображений MAI-Image-2.7","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/mai-image-2.7/generation"}]},{"group":"MAI-Image-2.6","icon":"image","pages":[{"title":"MAI-Image-2.6 Генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/mai-image-2.6/generation"}]},{"group":"MiniMax-H3-Image","icon":"image","pages":[{"title":"Генерация изображений MiniMax-H3-Image","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/minimax-h3-image/generation"}]},{"group":"MiniMax-H3-Image-Highspeed","icon":"image","pages":[{"title":"Генерация изображений MiniMax-H3-Image-Highspeed","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/minimax-h3-image-highspeed/generation"}]},{"group":"Qwen Image 2.0","icon":"image","pages":[{"title":"Генерация изображений Qwen Image 2.0","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/qwen-image/generation"}]},{"group":"Qwen Image 3.0","icon":"image","pages":[{"title":"Генерация изображений Qwen Image 3.0","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/qwen-image-3.0/generation"}]},{"group":"Z-Image-Turbo","icon":"image","pages":[{"title":"Генерация изображений Z-Image-Turbo","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/z-image-turbo/generation"}]},{"group":"Grok Imagine","icon":"image","pages":[{"title":"Grok Imagine — генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/grok-imagine/generation"}]},{"group":"Grok Imagine 2.0 Ext","icon":"image","pages":[{"title":"Grok Imagine 2.0 Ext: генерация изображений","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/grok-imagine-2.0-ext/generation"},{"title":"Слои и редактирование областей Grok Imagine 2.0 Ext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/grok-imagine-2.0-ext/layer-region-edit"},{"title":"Grok Imagine Image 2.0: официальная генерация и редактирование","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/grok-imagine-2.0-ext/official"}]},{"group":"wan2.7-image","icon":"image","pages":[{"title":"Генерация и редактирование изображений wan2.7","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ru/api-reference/images/wan2.7-image/generation"}]},{"group":"Midjourney","icon":"image","pages":[{"title":"API Midjourney","href":"/ru/api-reference/images/midjourney/generation"},{"title":"Imagine (текст в изображение)","api":"POST https://api.apimart.ai/v1/midjourney/generations","href":"/ru/api-reference/images/midjourney/imagine"},{"title":"Blend (смешивание изображений)","api":"POST https://api.apimart.ai/v1/midjourney/generations/blend","href":"/ru/api-reference/images/midjourney/blend"},{"title":"Describe (изображение в текст)","api":"POST https://api.apimart.ai/v1/midjourney/generations/describe","href":"/ru/api-reference/images/midjourney/describe"},{"title":"Edits (редактирование изображения)","api":"POST https://api.apimart.ai/v1/midjourney/generations/edits","href":"/ru/api-reference/images/midjourney/edits"},{"title":"Upscale (увеличить плитку)","api":"POST https://api.apimart.ai/v1/midjourney/generations/upscale","href":"/ru/api-reference/images/midjourney/upscale"},{"title":"Variation (вариация)","api":"POST https://api.apimart.ai/v1/midjourney/generations/variation","href":"/ru/api-reference/images/midjourney/variation"},{"title":"High Variation (сильная вариация)","api":"POST https://api.apimart.ai/v1/midjourney/generations/high-variation","href":"/ru/api-reference/images/midjourney/high-variation"},{"title":"Low Variation (слабая вариация)","api":"POST https://api.apimart.ai/v1/midjourney/generations/low-variation","href":"/ru/api-reference/images/midjourney/low-variation"},{"title":"Reroll (перегенерация)","api":"POST https://api.apimart.ai/v1/midjourney/generations/reroll","href":"/ru/api-reference/images/midjourney/reroll"},{"title":"Zoom (zoom out / расширение)","api":"POST https://api.apimart.ai/v1/midjourney/generations/zoom","href":"/ru/api-reference/images/midjourney/zoom"},{"title":"Pan (расширение со сдвигом)","api":"POST https://api.apimart.ai/v1/midjourney/generations/pan","href":"/ru/api-reference/images/midjourney/pan"},{"title":"Inpaint (Vary Region)","api":"POST https://api.apimart.ai/v1/midjourney/generations/inpaint","href":"/ru/api-reference/images/midjourney/inpaint"},{"title":"Modal (отправить параметры)","api":"POST https://api.apimart.ai/v1/midjourney/generations/modal","href":"/ru/api-reference/images/midjourney/modal"},{"title":"Video (изображение в видео)","api":"POST https://api.apimart.ai/v1/midjourney/generations/video","href":"/ru/api-reference/images/midjourney/video"},{"title":"Remix (reshape, только v8.1 / v8.2)","api":"POST https://api.apimart.ai/v1/midjourney/generations/remix-strong","href":"/ru/api-reference/images/midjourney/remix"},{"title":"Запрос задачи","api":"GET https://api.apimart.ai/v1/midjourney/{task_id}","href":"/ru/api-reference/images/midjourney/query"},{"title":"Лучшие практики","href":"/ru/api-reference/images/midjourney/best-practices"},{"title":"Полные примеры рабочих процессов","href":"/ru/api-reference/images/midjourney/workflow"}]}]},{"group":"Видеосерия","icon":"video","pages":[{"group":"MAGI-2","icon":"video","pages":[{"title":"Генерация видео MAGI-2","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/magi-2/generation"}]},{"group":"apimart-zoe","icon":"video","pages":[{"title":"Генерация видео apimart-zoe","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/apimart-zoe/generation"}]},{"group":"seedance-1-0-pro","icon":"video","pages":[{"title":"seedance-1-0-pro — генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/doubao/generation"}]},{"group":"seedance-2-0","icon":"video","pages":[{"title":"seedance-2.0 — генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/seedance-2-0/generation"},{"title":"Ассеты виртуальных аватаров","api":"POST https://api.apimart.ai/v1/seedance2/private-avatar","href":"/ru/api-reference/videos/seedance-2-0/private-avatar"}]},{"group":"seedance-2-5","icon":"video","pages":[{"title":"seedance-2.5 Video Generation","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/seedance-2-5/generation"}]},{"group":"seedance-2-5-flash","icon":"video","pages":[{"title":"Генерация видео Seedance 2.5 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/seedance-2-5-flash/generation"}]},{"group":"VEO3","icon":"video","pages":[{"title":"VEO3 — генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/veo3/generation"},{"title":"VEO3 — продление видео","api":"POST https://api.apimart.ai/v1/videos/{task_id}/remix","href":"/ru/api-reference/videos/veo3/remix"},{"title":"VEO3 — генерация видео через официальный канал","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/veo3/generation-official"}]},{"group":"MiniMax-Hailuo-02","icon":"video","pages":[{"title":"MiniMax-Hailuo-02 — генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/minimax-hailuo/generation"}]},{"group":"MiniMax-Hailuo-2.3","icon":"video","pages":[{"title":"Генерация видео MiniMax-Hailuo-2.3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/minimax-hailuo-2.3/generation"}]},{"group":"MiniMax-H3","icon":"video","pages":[{"title":"Генерация видео MiniMax-H3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/minimax-h3/generation"},{"title":"Генерация видео MiniMax-H3-Max","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/minimax-h3/max"},{"title":"MiniMax-H3 Context-IR улучшение промпта","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/minimax-h3/context-ir"},{"title":"MiniMax-H3 Regeneration","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/minimax-h3/regeneration"}]},{"group":"FLUX 3 Video","icon":"video","pages":[{"title":"Генерация видео FLUX 3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/flux-3-video/generation"}]},{"group":"SkyReels V4","icon":"video","pages":[{"title":"Генерация видео SkyReels V4","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/skyreels-v4/generation"}]},{"group":"HappyHorse","icon":"video","pages":[{"title":"Генерация видео HappyHorse 1.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/happyhorse-1.0/generation"},{"title":"Генерация видео HappyHorse 1.1","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/happyhorse-1.1/generation"}]},{"group":"Wan3.0","icon":"video","pages":[{"title":"Генерация видео Wan3.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/wan3.0-video/generation"}]},{"group":"Wan2.7","icon":"video","pages":[{"title":"Генерация видео Wan2.7","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/wan2.7/generation"},{"title":"Wan2.7-R2V — генерация видео по референсу","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/wan2.7-r2v/generation"},{"title":"Wan2.7-VideoEdit — редактирование видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/wan2.7-videoedit/generation"}]},{"group":"Wan2.6","icon":"video","pages":[{"title":"Генерация видео Wan2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/wan2.6/generation"},{"title":"wan2.6-i2v-flash — Image-to-Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/wan2.6/i2v-flash-generation"}]},{"group":"Wan2.5","icon":"video","pages":[{"title":"Генерация видео wan2.5-preview","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/wan2.5/generation"}]},{"group":"Kling 2.6","icon":"video","pages":[{"title":"Генерация видео Kling 2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/kling-v2-6/generation"},{"title":"Генерация видео Kling v2.6 с управлением движением","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/kling-v2-6/kling-v2-6-motion-control-generation"}]},{"group":"Kling v3","icon":"video","pages":[{"title":"Генерация видео Kling v3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/kling-v3/generation"}]},{"group":"Kling 3.0 Turbo","icon":"video","pages":[{"title":"Kling 3.0 Turbo — генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/kling-3.0-turbo/generation"}]},{"group":"Kling v3 Omni","icon":"video","pages":[{"title":"Генерация видео Kling v3 Omni","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/kling-v3-omni/generation"}]},{"group":"Kling V4","icon":"video","pages":[{"title":"Kling V4 Генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/kling-v4/generation"}]},{"group":"Kling V4 Flash","icon":"video","pages":[{"title":"Kling V4 Flash Генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/kling-v4-flash/generation"}]},{"group":"Kling Video O1","icon":"video","pages":[{"title":"Генерация видео Kling Video O1","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/kling-video-o1/generation"}]},{"group":"Vidu Q3(pro/turbo)","icon":"video","pages":[{"title":"Генерация видео Vidu Q3 (pro/turbo)","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/vidu-q3-pro/generation"}]},{"group":"Vidu Q4 Preview","icon":"video","pages":[{"title":"Vidu Q4 Preview Генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/vidu-q4-preview/generation"}]},{"group":"Vidu Q3(mix/standard)","icon":"video","pages":[{"title":"Vidu Q3 (mix/standard) — генерация видео по референсам","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/vidu-q3/generation"}]},{"group":"Grok Imagine","icon":"video","pages":[{"title":"Генерация видео Grok Imagine 1.5","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/grok-imagine/generation"},{"title":"Официальные видеомодели Grok","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/grok-imagine/official"}]},{"group":"Pixverse v6","icon":"video","pages":[{"title":"Pixverse v6 Генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/pixverse-v6/generation"}]},{"group":"PixVerse V6 Max","icon":"video","pages":[{"title":"PixVerse V6 Max Генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/pixverse-v6-max/generation"}]},{"group":"Muse Video Ext","icon":"video","pages":[{"title":"Генерация видео Muse Video Ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/muse-video-ext/generation"}]},{"group":"gemini-omni-1.1-flash-ext","icon":"video","pages":[{"title":"Генерация видео gemini-omni-1.1-flash-ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/omni-flash-ext/generation"}]},{"group":"gemini-omni-1.2-flash-ext","icon":"video","pages":[{"title":"gemini-omni-1.2-flash-ext: генерация видео","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/gemini-omni-1.2-flash-ext/generation"}]},{"group":"Gemini Omni 1.2 Flash","icon":"video","pages":[{"title":"Генерация видео Gemini Omni 1.2 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/gemini-omni-1.2-flash/generation"}]},{"group":"Gemini Omni 1.1 Flash","icon":"video","pages":[{"title":"Генерация видео Gemini Omni 1.1 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/gemini-omni-1.1-flash/generation"}]},{"group":"Gemini Omni Flash","icon":"video","pages":[{"title":"Генерация видео Gemini Omni Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ru/api-reference/videos/gemini-omni-flash-preview/generation"}]}]},{"group":"Аудиосерия","icon":"microphone","pages":[{"title":"Whisper-1 — транскрибация аудио","api":"POST https://api.apimart.ai/v1/audio/transcriptions","href":"/ru/api-reference/audios/whisper-1"},{"title":"TTS — синтез речи (Text-to-Speech)","api":"POST https://api.apimart.ai/v1/audio/speech","href":"/ru/api-reference/audios/tts"},{"group":"Flow Music","icon":"music","pages":[{"title":"Генерация музыки","api":"POST https://api.apimart.ai/v1/music/generations","href":"/ru/api-reference/audios/flow-music/music"},{"title":"Генерация музыки с Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations","href":"/ru/api-reference/audios/flow-music/music-lyria-3-5"},{"title":"Генерация текста песни","api":"POST https://api.apimart.ai/v1/music/generations/lyricsFlowMusic","href":"/ru/api-reference/audios/flow-music/lyrics"},{"title":"Продление музыки","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/ru/api-reference/audios/flow-music/extend"},{"title":"Продление музыки с Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/ru/api-reference/audios/flow-music/extend-lyria-3-5"},{"title":"Замена фрагмента","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/ru/api-reference/audios/flow-music/replace"},{"title":"Замена фрагмента с Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/ru/api-reference/audios/flow-music/replace-lyria-3-5"},{"title":"Cover-аранжировка","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/ru/api-reference/audios/flow-music/cover"},{"title":"Cover-аранжировка Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/ru/api-reference/audios/flow-music/cover-lyria-3-5"},{"title":"Разделение на дорожки","api":"POST https://api.apimart.ai/v1/music/generations/stemsFlowMusic","href":"/ru/api-reference/audios/flow-music/stems"},{"title":"Загрузка аудио","api":"POST https://api.apimart.ai/v1/music/generations/uploadAudioFlowMusic","href":"/ru/api-reference/audios/flow-music/upload-audio"},{"title":"Скачивание аудио","api":"POST https://api.apimart.ai/v1/music/generations/downloadAudioFlowMusic","href":"/ru/api-reference/audios/flow-music/download-audio"},{"title":"Рендеринг музыкального видео","api":"POST https://api.apimart.ai/v1/music/generations/videoClipFlowMusic","href":"/ru/api-reference/audios/flow-music/video-clip"},{"title":"Запрос задачи","description":"Запрос статуса выполнения, прогресса и результатов генерации асинхронных задач Flow Music","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/ru/api-reference/audios/flow-music/query"}]},{"group":"Suno","icon":"music","pages":[{"title":"Общие правила Suno V6 и получение задач","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/ru/api-reference/audios/suno/overview"},{"title":"Сгенерировать музыку","description":" - Создание песни из промпта: `custom=false` — режим вдохновения (`prompt` используется как промпт-вдохновение), `=true` — пользовательский режим (`prompt` используется как текст песни).\n- Асинхронная задача: отправка возвращает `task_id`, опрашивайте `GET /v1/music/tasks/:task_id` для получения результата ","api":"POST https://api.apimart.ai/v1/music/generations","href":"/ru/api-reference/audios/suno/generation"},{"title":"Сгенерировать текст песни","api":"POST https://api.apimart.ai/v1/music/generations/lyrics","href":"/ru/api-reference/audios/suno/lyrics"},{"title":"Генерация по вдохновению (inspo)","api":"POST https://api.apimart.ai/v1/music/generations/inspo","href":"/ru/api-reference/audios/suno/inspo"},{"title":"Генерация звуковых эффектов","api":"POST https://api.apimart.ai/v1/music/generations/sounds","href":"/ru/api-reference/audios/suno/sounds"},{"title":"Улучшение тегов","api":"POST https://api.apimart.ai/v1/music/generations/upsampleTags","href":"/ru/api-reference/audios/suno/upsample-tags"},{"title":"Загрузка аудио","api":"POST https://api.apimart.ai/v1/music/generations/uploadTask","href":"/ru/api-reference/audios/suno/upload"},{"title":"Загрузка аудио и создание кавера","api":"POST https://api.apimart.ai/v1/music/generations/uploadCover","href":"/ru/api-reference/audios/suno/upload-cover"},{"title":"Загрузка и продолжение аудио","api":"POST https://api.apimart.ai/v1/music/generations/uploadExtend","href":"/ru/api-reference/audios/suno/upload-extend"},{"title":"Создание пользовательской модели","api":"POST https://api.apimart.ai/v1/music/generations/createModel","href":"/ru/api-reference/audios/suno/create-model"},{"title":"Продолжение и продление","api":"POST https://api.apimart.ai/v1/music/generations/extend","href":"/ru/api-reference/audios/suno/extend"},{"title":"Перепевка в другом стиле","api":"POST https://api.apimart.ai/v1/music/generations/coverSong","href":"/ru/api-reference/audios/suno/cover-song"},{"title":"Мастеринг","api":"POST https://api.apimart.ai/v1/music/generations/remaster","href":"/ru/api-reference/audios/suno/remaster"},{"title":"Извлечение дорожки","api":"POST https://api.apimart.ai/v1/music/generations/stems","href":"/ru/api-reference/audios/suno/stems"},{"title":"Полное разделение на дорожки","api":"POST https://api.apimart.ai/v1/music/generations/stemsAll","href":"/ru/api-reference/audios/suno/stems-all"},{"title":"Добавить вокал","api":"POST https://api.apimart.ai/v1/music/generations/addVocals","href":"/ru/api-reference/audios/suno/add-vocals"},{"title":"Добавить аккомпанемент","api":"POST https://api.apimart.ai/v1/music/generations/addInstrumental","href":"/ru/api-reference/audios/suno/add-instrumental"},{"title":"Добавить дорожку (add stem)","api":"POST https://api.apimart.ai/v1/music/generations/addStem","href":"/ru/api-reference/audios/suno/add-stem"},{"title":"Извлечение Vox (устарело)","api":"POST https://api.apimart.ai/v1/music/generations/vox","href":"/ru/api-reference/audios/suno/vox"},{"title":"Создание голоса","api":"POST https://api.apimart.ai/v1/music/generations/createVoice","href":"/ru/api-reference/audios/suno/create-voice"},{"title":"Persona","api":"POST https://api.apimart.ai/v1/music/generations/persona","href":"/ru/api-reference/audios/suno/persona"},{"title":"Замена фрагмента","api":"POST https://api.apimart.ai/v1/music/generations/replaceMusic","href":"/ru/api-reference/audios/suno/replace-music"},{"title":"Удалить фрагмент","api":"POST https://api.apimart.ai/v1/music/generations/removeSection","href":"/ru/api-reference/audios/suno/remove-section"},{"title":"Обрезка аудио","api":"POST https://api.apimart.ai/v1/music/generations/crop","href":"/ru/api-reference/audios/suno/crop"},{"title":"Нарастание","api":"POST https://api.apimart.ai/v1/music/generations/fadeIn","href":"/ru/api-reference/audios/suno/fade-in"},{"title":"Затухание","api":"POST https://api.apimart.ai/v1/music/generations/fadeOut","href":"/ru/api-reference/audios/suno/fade-out"},{"title":"Регулировка скорости","api":"POST https://api.apimart.ai/v1/music/generations/adjustSpeed","href":"/ru/api-reference/audios/suno/adjust-speed"},{"title":"Синтез / склейка полной песни","api":"POST https://api.apimart.ai/v1/music/generations/concat","href":"/ru/api-reference/audios/suno/concat"},{"title":"Создать мэшап (mashup)","api":"POST https://api.apimart.ai/v1/music/generations/mashup","href":"/ru/api-reference/audios/suno/mashup"},{"title":"Образец в песню (sample)","api":"POST https://api.apimart.ai/v1/music/generations/sample","href":"/ru/api-reference/audios/suno/sample"},{"title":"Создать MIDI","api":"POST https://api.apimart.ai/v1/music/generations/midi","href":"/ru/api-reference/audios/suno/midi"},{"title":"Временная шкала текста песни","api":"POST https://api.apimart.ai/v1/music/generations/alignedLyrics","href":"/ru/api-reference/audios/suno/aligned-lyrics"},{"title":"Анализ BPM","api":"POST https://api.apimart.ai/v1/music/generations/bpm","href":"/ru/api-reference/audios/suno/bpm"},{"title":"Создать музыкальное видео (MV)","api":"POST https://api.apimart.ai/v1/music/generations/generateMp4","href":"/ru/api-reference/audios/suno/generate-mp4"},{"title":"Скачивание аудиофайлов","api":"POST https://api.apimart.ai/v1/music/generations/download","href":"/ru/api-reference/audios/suno/wav"}]}]},{"group":"Серия модерации","icon":"shield-check","pages":[{"group":"omni-moderation-latest","icon":"shield-check","pages":[{"title":"omni-moderation-latest Модерация контента","api":"POST https://api.apimart.ai/v1/moderations","href":"/ru/api-reference/moderations/omni-moderation-latest/generation"}]}]},{"group":"Управление загрузками","icon":"cloud-arrow-up","pages":[{"title":"Загрузка изображения","api":"POST https://api.apimart.ai/v1/uploads/images","href":"/ru/api-reference/uploads/images"},{"title":"Загрузка видео","api":"POST https://api.apimart.ai/v1/uploads/videos","href":"/ru/api-reference/uploads/videos"},{"title":"Загрузка аудио","api":"POST https://api.apimart.ai/v1/uploads/audios","href":"/ru/api-reference/uploads/audios"}]},{"group":"Управление задачами","icon":"list-check","pages":[{"title":"Получение статуса задачи","api":"GET https://api.apimart.ai/v1/tasks/{task_id}","href":"/ru/api-reference/tasks/status"},{"title":"Обратный вызов о завершении задачи (Webhook)","href":"/ru/api-reference/tasks/webhook"}]},{"group":"Управление аккаунтом","icon":"wallet","pages":[{"title":"Запрос баланса токена","api":"GET https://api.apimart.ai/v1/balance","href":"/ru/api-reference/account/token-balance"},{"title":"Запрос баланса пользователя","api":"GET https://api.apimart.ai/v1/user/balance","href":"/ru/api-reference/account/user-balance"},{"title":"Запрос расходов и использования","api":"GET https://api.apimart.ai/v1/usage","href":"/ru/api-reference/account/usage"},{"title":"Журнал запросов и цены для аккаунта","href":"/ru/api-reference/account/request-logs"}]}]},{"tab":"Интеграции","pages":[{"title":"Интеграции","href":"/ru/integrations/chat/chatbox"}]},{"tab":"Руководства","pages":[{"title":"Руководства","href":"/ru/quickstart"}]},{"tab":"Часто задаваемые вопросы","pages":[{"title":"Часто задаваемые вопросы","href":"/ru/faqs"}]}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/audios/suno/overview"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-reference/audios/suno/overview"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/api-reference/audios/suno/overview"}]},{"language":"id","pages":[{"title":"id","href":"/id/api-reference/audios/suno/overview"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/audios/suno/overview"}]}]},"basePath":"","title":"Общие правила Suno V6 и получение задач - APIMart","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js"]}