import Foundation
let parameters = ["id": "8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d"] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://api.nixai.ru/v1/characters/fetch")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.timeoutInterval = 10
request.allHTTPHeaderFields = [
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
]
request.httpBody = postData
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))
using RestSharp;
var options = new RestClientOptions("https://api.nixai.ru/v1/characters/fetch");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"id\": \"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://api.nixai.ru/v1/characters/fetch");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"id\": \"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
Передайте task_id из запроса на создание в поле id. Рекомендуется проверять статус раз в 10 секунд.Опрашивайте эндпоинт, пока status не станет completed, rejected или failed. Пока обучение идёт, status равен processing. Когда статус станет completed, сохраните character_id из ответа и передайте его в генерацию изображений.Пока обучение идёт:
{ "task_id": "8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d", "status": "rejected", "error": "BadRequest", "message": "Field `images` accepts at most 100 items."}
Статус
Что означает
processing
Запрос стоит в очереди или персонаж обучается
completed
Персонаж готов, character_id можно использовать
rejected
Запрос не прошёл проверку: исправьте images (от 1 до 100 ссылок http:// или https:// с хостом и без пробелов, каждая не длиннее 2083 байт в UTF-8). Причина в error и message; списания не происходит
failed
Обучение не удалось; списания не происходит
Не используйте character_id в генерации до статуса completed.
Ошибки
Ошибки обучения возвращаются в ответе /v1/characters/fetch в полях error и message.
error
Статус задачи
Причина
BadRequest
rejected
images не прошли проверку. Повтор без исправления запроса завершится той же ошибкой.
UnknownError
failed
Обучение не удалось. Запрос можно повторить.
TaskInterrupted
failed
Задача прервана перезапуском сервера. Запрос можно повторить.
Сообщения BadRequest
message
Что исправить
Field `images` must be a non-empty list of image URLs.
Передайте в images массив ссылок, а не одну строку и не пустой массив.
Field `images` accepts at most 100 items.
Сократите число фотографий до 100.
Each item of `images` must be an http(s) image URL with a host and no whitespace.
Каждый элемент должен быть строкой со ссылкой http:// или https:// с хостом и без пробельных символов внутри; порт, если он указан, должен быть числом. Пробел в пути кодируйте как %20.
Image URLs are limited to 2083 bytes in UTF-8.
Сократите ссылку до 2083 байт в UTF-8. Символы вне ASCII (например, кириллица) занимают больше одного байта, поэтому такая ссылка упирается в предел раньше 2083 символов.
Each URL in `images` must be a publicly reachable http(s) link.
Ссылка должна открываться из интернета: адреса внутренней сети и localhost не принимаются.
A file from `images` could not be downloaded. Check that the link is public and points directly to the file.
Файл не скачался за 30 секунд либо хост вернул ошибку. Проверьте, что ссылка открывается без авторизации и ведёт прямо на файл.
Each file in `images` must not exceed 20 MB.
Уменьшите фотографию до 20 МБ.
A URL in `images` does not point to a supported image.
По ссылке должен быть сам файл изображения, а не страница с ним.
Authorizations
Authorization
string
header
required
Заголовок авторизации вида Bearer <token>, где <token> — ваш API-ключ.
Body
application/json
id
string
required
Значение task_id, полученное при запуске обучения.
Example:
"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d"
Response
Текущий статус персонажа
status
enum<string>
required
Текущий статус обучения персонажа:
processing — обучение идёт;
completed — персонаж готов;
rejected — запрос не прошёл проверку, персонаж не создан;
failed — обучение не удалось или прервано, персонаж не создан.
Available options:
processing,
completed,
rejected,
failed
Example:
"completed"
task_id
string<uuid>
Идентификатор задачи. Есть в ответе со статусами processing, rejected и failed.
Example:
"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d"
character_id
string<uuid>
Идентификатор персонажа для генерации изображений. Возвращается при статусе completed.
Example:
"dc37705a-77c2-47de-a5d1-c36ccc6a3ace"
error
enum<string>
Код ошибки при статусах rejected и failed:
BadRequest — images не прошли проверку (статус rejected);
UnknownError — обучение не удалось (статус failed);
TaskInterrupted — задача прервана перезапуском сервера (статус failed).
import Foundation
let parameters = ["id": "8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d"] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://api.nixai.ru/v1/characters/fetch")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.timeoutInterval = 10
request.allHTTPHeaderFields = [
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
]
request.httpBody = postData
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))
using RestSharp;
var options = new RestClientOptions("https://api.nixai.ru/v1/characters/fetch");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"id\": \"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://api.nixai.ru/v1/characters/fetch");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"id\": \"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"NixAI","colors":{"primary":"#EA580C","light":"#EA580C","dark":"#EA580C"},"logo":{"light":"https://mintcdn.com/nixai/OHAL6WG-8CvPTLcb/images/NixAI.png?fit=max\u0026auto=format\u0026n=OHAL6WG-8CvPTLcb\u0026q=85\u0026s=20db0792bdd025076fb6dcf67650b5ed","dark":"https://mintcdn.com/nixai/OHAL6WG-8CvPTLcb/images/NixAI.png?fit=max\u0026auto=format\u0026n=OHAL6WG-8CvPTLcb\u0026q=85\u0026s=20db0792bdd025076fb6dcf67650b5ed","href":"https://nixai.ru"},"favicon":"https://mintcdn.com/nixai/OHAL6WG-8CvPTLcb/images/NixAI.png?fit=max\u0026auto=format\u0026n=OHAL6WG-8CvPTLcb\u0026q=85\u0026s=20db0792bdd025076fb6dcf67650b5ed","api":{"examples":{"languages":["curl","python","javascript","node","php","go","java","ruby","powershell","swift","csharp","dotnet","typescript","c","c++","kotlin","rust","dart"],"prefill":true}},"navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://nixai.ru/dashboard"}},"footer":{"socials":{"telegram":"https://t.me/nixai_ru"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"schema":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nixai","hasAudioNarration":false,"actualSubdomain":"nixai","customDomains":["nixai.ru"],"gitSource":{"type":"github","owner":"nikinik0","repo":"docs","deployBranch":"main","isPrivate":false,"contentDirectory":"","mountPath":"","label":""},"feedback":{"agentFeedback":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0ec822261f029092ffe73f","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Video models","count":33},{"language":"default","tag":"Image models","count":24},{"language":"default","tag":"Audio models","count":5},{"language":"default","tag":"Higgsfield Soul","count":5},{"language":"default","tag":"Seedream","count":4},{"language":"default","tag":"GPT Image","count":3},{"language":"default","tag":"Grok Imagine Image","count":3},{"language":"default","tag":"Grok Imagine Video","count":3},{"language":"default","tag":"Happyhorse","count":3},{"language":"default","tag":"Higgsfield Motion Transfer","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"higgsfield-soul/character-fetch","slug":"/higgsfield-soul/character-fetch","pageMetadata":{"title":"Проверка персонажа","description":"Проверка статуса обучения и получение character_id.","openapi":"higgsfield-soul/openapi.yaml POST /v1/characters/fetch","href":"/higgsfield-soul/character-fetch"},"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: \"Проверка статуса обучения и получение character_id.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Передайте `,_jsx(_components.code,{children:`task_id`}),` из запроса на создание в поле `,_jsx(_components.code,{children:`id`}),`. Рекомендуется проверять статус раз в 10 секунд.`]}),`\n`,_jsxs(_components.p,{children:[`Опрашивайте эндпоинт, пока `,_jsx(_components.code,{children:`status`}),` не станет `,_jsx(_components.code,{children:`completed`}),`, `,_jsx(_components.code,{children:`rejected`}),` или `,_jsx(_components.code,{children:`failed`}),`. Пока обучение идёт, `,_jsx(_components.code,{children:`status`}),` равен `,_jsx(_components.code,{children:`processing`}),`. Когда статус станет `,_jsx(_components.code,{children:`completed`}),`, сохраните `,_jsx(_components.code,{children:`character_id`}),` из ответа и передайте его в генерацию изображений.`]}),`\n`,_jsx(_components.p,{children:`Пока обучение идёт:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d\"`}),_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:`\"processing\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Когда обучение завершено:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"character_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dc37705a-77c2-47de-a5d1-c36ccc6a3ace\"`}),_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\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Когда фотографии не прошли проверку:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d\"`}),_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:`\"rejected\"`}),_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:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BadRequest\"`}),_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:'\"Field `images` accepts at most 100 items.\"'})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\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:`processing`})}),_jsx(_components.td,{children:`Запрос стоит в очереди или персонаж обучается`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed`})}),_jsxs(_components.td,{children:[`Персонаж готов, `,_jsx(_components.code,{children:`character_id`}),` можно использовать`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rejected`})}),_jsxs(_components.td,{children:[`Запрос не прошёл проверку: исправьте `,_jsx(_components.code,{children:`images`}),` (от 1 до 100 ссылок `,_jsx(_components.code,{children:`http://`}),` или `,_jsx(_components.code,{children:`https://`}),` с хостом и без пробелов, каждая не длиннее 2083 байт в UTF-8). Причина в `,_jsx(_components.code,{children:`error`}),` и `,_jsx(_components.code,{children:`message`}),`; списания не происходит`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsx(_components.td,{children:`Обучение не удалось; списания не происходит`})]})]})]}),`\n`,_jsxs(Warning,{children:[`Не используйте `,_jsx(_components.code,{children:`character_id`}),` в генерации до статуса `,_jsx(_components.code,{children:`completed`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`ошибки`,children:`Ошибки`}),`\n`,_jsxs(_components.p,{children:[`Ошибки обучения возвращаются в ответе `,_jsx(_components.code,{children:`/v1/characters/fetch`}),` в полях `,_jsx(_components.code,{children:`error`}),` и `,_jsx(_components.code,{children:`message`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.th,{children:`Статус задачи`}),_jsx(_components.th,{children:`Причина`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BadRequest`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rejected`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`images`}),` не прошли проверку. Повтор без исправления запроса завершится той же ошибкой.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`UnknownError`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsx(_components.td,{children:`Обучение не удалось. Запрос можно повторить.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TaskInterrupted`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsx(_components.td,{children:`Задача прервана перезапуском сервера. Запрос можно повторить.`})]})]})]}),`\n`,_jsxs(Heading,{level:`3`,id:`сообщения-badrequest`,children:[`Сообщения `,_jsx(_components.code,{children:`BadRequest`})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`message`})}),_jsx(_components.th,{children:`Что исправить`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"Field `images` must be a non-empty list of image URLs.\"})}),_jsxs(_components.td,{children:[`Передайте в `,_jsx(_components.code,{children:`images`}),` массив ссылок, а не одну строку и не пустой массив.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"Field `images` accepts at most 100 items.\"})}),_jsx(_components.td,{children:`Сократите число фотографий до 100.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"Each item of `images` must be an http(s) image URL with a host and no whitespace.\"})}),_jsxs(_components.td,{children:[`Каждый элемент должен быть строкой со ссылкой `,_jsx(_components.code,{children:`http://`}),` или `,_jsx(_components.code,{children:`https://`}),` с хостом и без пробельных символов внутри; порт, если он указан, должен быть числом. Пробел в пути кодируйте как `,_jsx(_components.code,{children:`%20`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Image URLs are limited to 2083 bytes in UTF-8.`})}),_jsx(_components.td,{children:`Сократите ссылку до 2083 байт в UTF-8. Символы вне ASCII (например, кириллица) занимают больше одного байта, поэтому такая ссылка упирается в предел раньше 2083 символов.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"Each URL in `images` must be a publicly reachable http(s) link.\"})}),_jsxs(_components.td,{children:[`Ссылка должна открываться из интернета: адреса внутренней сети и `,_jsx(_components.code,{children:`localhost`}),` не принимаются.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"A file from `images` could not be downloaded. Check that the link is public and points directly to the file.\"})}),_jsx(_components.td,{children:`Файл не скачался за 30 секунд либо хост вернул ошибку. Проверьте, что ссылка открывается без авторизации и ведёт прямо на файл.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"Each file in `images` must not exceed 20 MB.\"})}),_jsx(_components.td,{children:`Уменьшите фотографию до 20 МБ.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"A URL in `images` does not point to a supported image.\"})}),_jsx(_components.td,{children:`По ссылке должен быть сам файл изображения, а не страница с ним.`})]})]})]})]})}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":"Проверка персонажа","description":"Проверка статуса обучения и получение character_id.","openapi":"higgsfield-soul/openapi.yaml POST /v1/characters/fetch","href":"/higgsfield-soul/character-fetch"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Ошибки","slug":"ошибки","depth":2,"children":[{"title":"Сообщения BadRequest","slug":"сообщения-badrequest","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Higgsfield Soul"],"summary":"Проверка готовности персонажа","description":"Проверка статуса обучения и получение character_id.","requestBody":"febbb4c2-1b54-4387-a534-f87c6306b707","responses":{"200":"0ea5b06c-eac2-4fbc-a140-1d2aa6f5daf3","400":"6e3038e7-9ba2-46f5-ba9d-7776f25a3dca"},"method":"post","type":"path","servers":["4cb0162a-5e7a-40f6-8810-847510bb8c36"],"security":["cd04d05c-3484-4646-98f8-fd69f8ac0a69"],"path":"/v1/characters/fetch","baseUrlOptions":["https://api.nixai.ru"],"title":"Проверка готовности персонажа","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","node","php","go","java","ruby","powershell","swift","csharp","dotnet","typescript","c","c++","kotlin","rust","dart"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.id":"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d"}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Значение `task_id`, полученное при запуске обучения.","example":"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d","isRequired":true,"uniqueKey":"id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"0ea5b06c-eac2-4fbc-a140-1d2aa6f5daf3":{"description":"Текущий статус персонажа","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"type":"string","description":"Текущий статус обучения персонажа:\n- `processing` — обучение идёт;\n- `completed` — персонаж готов;\n- `rejected` — запрос не прошёл проверку, персонаж не создан;\n- `failed` — обучение не удалось или прервано, персонаж не создан.\n","enum":["processing","completed","rejected","failed"],"example":"completed","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"task_id":{"type":"string","format":"uuid","description":"Идентификатор задачи. Есть в ответе со статусами `processing`, `rejected` и `failed`.","example":"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d","uniqueKey":"task_id","typeLabel":"string\u003cuuid>"},"character_id":{"type":"string","format":"uuid","description":"Идентификатор персонажа для генерации изображений. Возвращается при статусе `completed`.","example":"dc37705a-77c2-47de-a5d1-c36ccc6a3ace","uniqueKey":"character_id","typeLabel":"string\u003cuuid>"},"error":{"type":"string","description":"Код ошибки при статусах `rejected` и `failed`:\n- `BadRequest` — `images` не прошли проверку (статус `rejected`);\n- `UnknownError` — обучение не удалось (статус `failed`);\n- `TaskInterrupted` — задача прервана перезапуском сервера (статус `failed`).\n","enum":["BadRequest","UnknownError","TaskInterrupted"],"example":"BadRequest","uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Пояснение к ошибке. Может отсутствовать.","example":"Field `images` accepts at most 100 items.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"processing":{"title":"processing","summary":"Обучение идёт","value":{"task_id":"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d","status":"processing"}},"completed":{"title":"completed","summary":"Персонаж готов","value":{"character_id":"dc37705a-77c2-47de-a5d1-c36ccc6a3ace","status":"completed"}},"rejected":{"title":"rejected","summary":"Фотографии не прошли проверку","value":{"task_id":"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d","status":"rejected","error":"BadRequest","message":"Field `images` accepts at most 100 items."}},"failed":{"title":"failed","summary":"Обучение не удалось","value":{"task_id":"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d","status":"failed","error":"UnknownError","message":"Character training failed."}},"interrupted":{"title":"interrupted","summary":"Задача прервана перезапуском сервера","value":{"task_id":"8f14e45f-ceea-467a-9c2b-1a6c4b0a1f2d","status":"failed","error":"TaskInterrupted","message":"The task was interrupted by a server restart."}}},"exampleType":"examples"}},"exampleType":"examples"},"6e3038e7-9ba2-46f5-ba9d-7776f25a3dca":{"description":"Некорректный запрос","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","example":"error","uniqueKey":"type","typeLabel":"string"},"error":{"type":"object","properties":{"type":{"type":"string","example":"invalid_request_error","uniqueKey":"error.type","typeLabel":"string"},"message":{"type":"string","example":"The request is malformed or missing required parameters.","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","example":"invalid_request","uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Идентификатор запроса.","example":"req_01k42y9m7r7g8f5qv3w6n2c1a0","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"invalid_request_error","message":"The request is malformed or missing required parameters.","code":"invalid_request","details":{}},"request_id":"req_01k42y9m7r7g8f5qv3w6n2c1a0"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"cd04d05c-3484-4646-98f8-fd69f8ac0a69":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Заголовок авторизации вида `Bearer \u003ctoken>`, где `\u003ctoken>` — ваш API-ключ.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"4cb0162a-5e7a-40f6-8810-847510bb8c36":{"url":"https://api.nixai.ru"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Заголовок авторизации вида `Bearer \u003ctoken>`, где `\u003ctoken>` — ваш API-ключ.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Заголовок авторизации вида `Bearer \u003ctoken>`, где `\u003ctoken>` — ваш API-ключ.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"higgsfield-soul/openapi.yaml"},"subdomain":"nixai","siteName":"NixAI","title":"Проверка персонажа - NixAI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T16:34:08.164Z","originalFileLocation":"higgsfield-soul/character-fetch.mdx"},"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=\"Проверка статуса обучения и получение character_id.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NixAI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_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=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Проверка персонажа - NixAI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Проверка статуса обучения и получение character_id.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NixAI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://nixai.ru/docs/higgsfield-soul/character-fetch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nixai.mintlify.site/docs/_mintlify/api/og/v2?division=Higgsfield+Soul\u0026amp;title=%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B0+%D0%BF%D0%B5%D1%80%D1%81%D0%BE%D0%BD%D0%B0%D0%B6%D0%B0\u0026amp;description=%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B0+%D1%81%D1%82%D0%B0%D1%82%D1%83%D1%81%D0%B0+%D0%BE%D0%B1%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D1%8F+%D0%B8+%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D0%B5+character_id.\u0026amp;theme=c85a10262eba266ab143b527\u0026amp;signature=3e308835d92cf55a0583ce98e35c7ef6b524a7cb0cbd69e4478dcc4c8f858187\">\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=\"Проверка персонажа - NixAI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Проверка статуса обучения и получение character_id.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nixai.mintlify.site/docs/_mintlify/api/og/v2?division=Higgsfield+Soul\u0026amp;title=%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B0+%D0%BF%D0%B5%D1%80%D1%81%D0%BE%D0%BD%D0%B0%D0%B6%D0%B0\u0026amp;description=%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B0+%D1%81%D1%82%D0%B0%D1%82%D1%83%D1%81%D0%B0+%D0%BE%D0%B1%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D1%8F+%D0%B8+%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D0%B5+character_id.\u0026amp;theme=c85a10262eba266ab143b527\u0026amp;signature=3e308835d92cf55a0583ce98e35c7ef6b524a7cb0cbd69e4478dcc4c8f858187\">\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=\"/docs/mintlify-assets/_mintlify/favicons/nixai/RPz2Kj6-5lc_-SDA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NixAI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EA580C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://nixai.ru/docs/higgsfield-soul/character-fetch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/higgsfield-soul/character-fetch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://nixai.ru/#organization\",\"name\":\"NixAI\",\"url\":\"https://nixai.ru\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nixai/OHAL6WG-8CvPTLcb/images/NixAI.png?fit=max\u0026auto=format\u0026n=OHAL6WG-8CvPTLcb\u0026q=85\u0026s=20db0792bdd025076fb6dcf67650b5ed\"}},{\"@type\":\"WebSite\",\"@id\":\"https://nixai.ru/docs#website\",\"name\":\"NixAI\",\"url\":\"https://nixai.ru/docs\",\"publisher\":{\"@id\":\"https://nixai.ru/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://nixai.ru/docs/higgsfield-soul/character-fetch#webpage\",\"url\":\"https://nixai.ru/docs/higgsfield-soul/character-fetch\",\"name\":\"Проверка персонажа\",\"description\":\"Проверка статуса обучения и получение character_id.\",\"dateModified\":\"2026-11-25T16:34:08.164Z\",\"isPartOf\":{\"@id\":\"https://nixai.ru/docs#website\"},\"breadcrumb\":{\"@id\":\"https://nixai.ru/docs/higgsfield-soul/character-fetch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://nixai.ru/docs/higgsfield-soul/character-fetch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Image models\",\"item\":\"https://nixai.ru/docs/grok-imagine-image/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Higgsfield Soul\",\"item\":\"https://nixai.ru/docs/higgsfield-soul/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Проверка персонажа\",\"item\":\"https://nixai.ru/docs/higgsfield-soul/character-fetch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://nixai.ru/docs/higgsfield-soul/character-fetch#apireference\",\"headline\":\"Проверка персонажа\",\"name\":\"Проверка персонажа\",\"description\":\"Проверка статуса обучения и получение character_id.\",\"url\":\"https://nixai.ru/docs/higgsfield-soul/character-fetch\",\"mainEntityOfPage\":{\"@id\":\"https://nixai.ru/docs/higgsfield-soul/character-fetch#webpage\"},\"dateModified\":\"2026-11-25T16:34:08.164Z\",\"publisher\":{\"@id\":\"https://nixai.ru/#organization\"},\"isPartOf\":{\"@id\":\"https://nixai.ru/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NixAI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NixAI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/higgsfield-soul/character-fetch.md","siteName":"NixAI","nav":{"global":null,"groups":[{"group":"Основная информация","pages":[]},{"group":"Text models","pages":[{"group":"Chat Completions","pages":[{"title":"Chat Completions","openapi":"text-models/openapi.yaml POST /v1/chat/completions","href":"/text-models/chat-completions"},{"title":"Chat Completions с изображением","openapi":"text-models/vision-openapi.yaml POST /v1/chat/completions","href":"/text-models/chat-completions-vision"}]}]},{"group":"Audio models","pages":[{"title":"Синтез речи (Text to Speech)","href":"/audio/overview"},{"title":"Создать задачу синтеза речи","deprecated":null,"version":null,"openapi":"/audio/openapi.yaml post /v1/audio/speech/generations","href":"/api-reference/audio/создать-задачу-синтеза-речи"},{"title":"Проверить статус синтеза","deprecated":null,"version":null,"openapi":"/audio/openapi.yaml post /v1/audio/fetch","href":"/api-reference/audio/проверить-статус-синтеза"},{"title":"Получить голоса по умолчанию","deprecated":null,"version":null,"openapi":"/audio/openapi.yaml get /v1/audio/voices","href":"/api-reference/audio/получить-голоса-по-умолчанию"},{"title":"Поиск в библиотеке голосов","deprecated":null,"version":null,"openapi":"/audio/openapi.yaml get /v1/audio/voices/library","href":"/api-reference/audio/поиск-в-библиотеке-голосов"}]},{"group":"Image models","pages":[{"group":"Grok Imagine Image","pages":[{"title":"Обзор","href":"/grok-imagine-image/overview"},{"title":"Генерация изображения","openapi":"grok-imagine-image/openapi.yaml POST /v1/images/generations","href":"/grok-imagine-image/generations"},{"title":"Редактирование изображения","openapi":"grok-imagine-image/openapi.yaml POST /v1/images/edits","href":"/grok-imagine-image/edits"}]},{"group":"GPT Image","pages":[{"title":"Обзор","href":"/gpt-image-2/overview"},{"title":"Генерация изображения","openapi":"gpt-image-2/openapi.yaml POST /v1/images/generations","href":"/gpt-image-2/generations"},{"title":"Редактирование изображения","openapi":"gpt-image-2/openapi.yaml POST /v1/images/edits","href":"/gpt-image-2/edits"}]},{"group":"Midjourney","pages":[{"title":"Обзор","href":"/midjourney/overview"},{"title":"Генерация изображения","openapi":"midjourney/openapi.yaml POST /v1/images/generations","href":"/midjourney/generations"},{"title":"Редактирование изображения","openapi":"midjourney/openapi.yaml POST /v1/images/edits","href":"/midjourney/edits"}]},{"group":"Nano Banana","pages":[{"title":"Обзор","href":"/nano-banana/overview"},{"title":"Генерация изображения","openapi":"nano-banana/openapi.yaml POST /v1/images/generations","href":"/nano-banana/generations"},{"title":"Редактирование изображения","openapi":"nano-banana/openapi.yaml POST /v1/images/edits","href":"/nano-banana/edits"}]},{"group":"Seedream","pages":[{"title":"Обзор","href":"/seedream/overview"},{"title":"Генерация изображения","openapi":"seedream/openapi.yaml POST /v1/images/generations","href":"/seedream/generations"},{"title":"Редактирование изображения","openapi":"seedream/openapi.yaml POST /v1/images/edits","href":"/seedream/edits"},{"title":"Разбиение на слои","href":"/seedream/layers"}]},{"group":"Wan 2.7 Image Pro","pages":[{"title":"Обзор","href":"/wan2.7-image-pro/overview"},{"title":"Генерация изображения","openapi":"wan2.7-image-pro/openapi.yaml POST /v1/images/generations","href":"/wan2.7-image-pro/generations"},{"title":"Редактирование изображения","openapi":"wan2.7-image-pro/openapi.yaml POST /v1/images/edits","href":"/wan2.7-image-pro/edits"}]},{"group":"Higgsfield Soul","pages":[{"title":"Персонажи (Soul ID)","href":"/higgsfield-soul/overview"},{"title":"Создание персонажа","description":"Асинхронное обучение персонажа Higgsfield Soul ID.","openapi":"higgsfield-soul/openapi.yaml POST /v1/characters/generations","href":"/higgsfield-soul/character-generations"},{"title":"Проверка персонажа","openapi":"higgsfield-soul/openapi.yaml POST /v1/characters/fetch","href":"/higgsfield-soul/character-fetch"},{"title":"Генерация изображения","openapi":"higgsfield-soul/openapi.yaml POST /v1/images/generations","description":"Создаёт изображение по текстовому описанию. Чтобы использовать обученное лицо,\nпередайте `character_id` персонажа со статусом `completed`.\nБез `character_id` выполняется обычная генерация по описанию.\n","href":"/higgsfield-soul/generations"},{"title":"Стили генерации","href":"/higgsfield-soul/styles"}]}]},{"group":"Video models","pages":[{"group":"Grok Imagine Video","pages":[{"title":"Обзор","href":"/grok-imagine/overview"},{"title":"Генерация видео","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/videos/generations","href":"/api-reference/video/генерация-видео"},{"title":"Проверка статуса видео","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/videos/fetch","href":"/api-reference/video/проверка-статуса-видео"}]},{"group":"Kling","pages":[{"title":"Обзор","href":"/kling/overview"},{"title":"Генерация видео","openapi":"kling/openapi.yaml POST /v1/videos/generations","href":"/kling/generations"},{"title":"Проверка статуса","openapi":"kling/openapi.yaml POST /v1/videos/fetch","href":"/kling/fetch"}]},{"group":"Seedance","pages":[{"title":"Обзор","href":"/seedance/overview"},{"title":"Генерация видео","openapi":"seedance/openapi.yaml POST /v1/videos/generations","href":"/seedance/generations"},{"title":"Проверка статуса","openapi":"seedance/openapi.yaml POST /v1/videos/fetch","href":"/seedance/fetch"}]},{"group":"Happyhorse","pages":[{"title":"Обзор","href":"/happyhorse/overview"},{"title":"Генерация видео","openapi":"happyhorse/openapi.yaml POST /v1/videos/generations","href":"/happyhorse/generations"},{"title":"Проверка статуса","openapi":"happyhorse/openapi.yaml POST /v1/videos/fetch","href":"/happyhorse/fetch"}]},{"group":"Wan 2.7","pages":[{"title":"Обзор","href":"/wan2.7/overview"},{"title":"Генерация видео","openapi":"wan2.7/openapi.yaml POST /v1/videos/generations","href":"/wan2.7/generations"},{"title":"Проверка статуса","openapi":"wan2.7/openapi.yaml POST /v1/videos/fetch","href":"/wan2.7/fetch"}]},{"group":"Wan 3","pages":[{"title":"Обзор","href":"/wan3/overview"},{"title":"Генерация видео","openapi":"wan3/openapi.yaml POST /v1/videos/generations","href":"/wan3/generations"},{"title":"Проверка статуса","openapi":"wan3/openapi.yaml POST /v1/videos/fetch","href":"/wan3/fetch"}]},{"group":"MAGI-2","pages":[{"title":"Обзор","href":"/magi-2/overview"},{"title":"Генерация видео","openapi":"magi-2/openapi.yaml POST /v1/videos/generations","href":"/magi-2/generations"},{"title":"Проверка статуса","openapi":"magi-2/openapi.yaml POST /v1/videos/fetch","href":"/magi-2/fetch"}]},{"group":"Google Veo/Omni","pages":[{"title":"Обзор","href":"/veo-omni/overview"},{"title":"Генерация видео","openapi":"veo-omni/openapi.yaml POST /v1/videos/generations","href":"/veo-omni/generations"},{"title":"Проверка статуса","openapi":"veo-omni/openapi.yaml POST /v1/videos/fetch","href":"/veo-omni/fetch"}]},{"group":"Topaz Upscale Video","pages":[{"title":"Обзор","href":"/topaz-upscale-video/overview"},{"title":"Увеличение разрешения видео","openapi":"topaz-upscale-video/openapi.yaml POST /v1/videos/generations","href":"/topaz-upscale-video/generations"},{"title":"Проверка статуса","openapi":"topaz-upscale-video/openapi.yaml POST /v1/videos/fetch","href":"/topaz-upscale-video/fetch"}]},{"group":"Higgsfield Motion Transfer","pages":[{"title":"Обзор","href":"/higgsfield-motion-transfer/overview"},{"title":"Перенос движения","openapi":"higgsfield-motion-transfer/openapi.yaml POST /v1/videos/generations","href":"/higgsfield-motion-transfer/generations"},{"title":"Проверка статуса","openapi":"higgsfield-motion-transfer/openapi.yaml POST /v1/videos/fetch","href":"/higgsfield-motion-transfer/fetch"}]},{"group":"Higgsfield Object Swap","pages":[{"title":"Обзор","href":"/higgsfield-object-swap/overview"},{"title":"Замена объекта","openapi":"higgsfield-object-swap/openapi.yaml POST /v1/videos/generations","href":"/higgsfield-object-swap/generations"},{"title":"Проверка статуса","openapi":"higgsfield-object-swap/openapi.yaml POST /v1/videos/fetch","href":"/higgsfield-object-swap/fetch"}]}]}]},"basePath":"","title":"Проверка персонажа - NixAI","deploymentId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","buildId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-Cn6jN7s-.js","snippetPresets-DjcjTu_l.js","utils-CgDfAybK.js","style-to-object-BY3JEAdk.js","utils-BRh9RHH1.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ekgQXnrs.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DQ8efB5G.js","_Uint8Array-DxysT0ia.js","isObject-FP1Yky1u.js","Page-tKmt1iGP.js","api-description-markdown-KtPg6U4T.js","DynamicMarkdown-Ch7bkVSN.js","CodeSnippet-NZAMx71T.js","use-playground-group-access-BeZ_TnTl.js","SectionHeading-Cj70Qp9A.js","ApiExamples-B4Dcm0cf.js","usePlaygroundInputsStore-CDeMD38v.js","shallow-BG_m8ALL.js","isEqual-DPm32SJd.js","CodeSnippets-DQz1R-UZ.js","MethodPill-BAy1jSVY.js","getPastedJson-BX84PZ05.js","Check2Icon-B6AWYcHm.js","axios-CsQoIw0U.js","Markdown-CfiTBZoc.js","AssistantPageLink-SRAvT1Bg.js","dist-CnoXsf9u.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}