Изображения
FLUX.1 [dev] SRPO
FLUX.1 [dev] SRPO is a 12B flow transformer finetuned with Tencent SRPO for higher realism and aesthetics in text guided image generation. It improves lighting, texture, and artifact control. Ideal for teams that need controllable, high quality image output from text prompts.
Передайте модели описание будущего изображения. Используйте результат как основу для иллюстрации, рекламного материала или оформления сайта.
На входе
Текстовое описание
На выходе
Изображение
ID модели для API
flux-1-dev-srpo

Маршрут
OpenRouter
резервный маршрут · скороВозможности
картинки
Вышла
1 декабря 2026 г.
у провайдера
Как оплачивается запрос
курс пересчёта · 1 $ = 85,32 ₽
за генерацию
≈ 0,19 ₽
Спишется по факту: сколько единиц ушло на запрос, столько и заплатите.
Как подключить модель
вся документация →Модель запускается методом POST /v1/runs, итог — опросом GET /v1/runs/{id}. Задач у модели несколько — поле task обязательно.
правка картинки task: image_edit
- prompt
- текст запроса
- input.CFGScale
- CFG Scale — 0–50
- input.acceleratorOptions__cacheEndStep
- Cache End Step — 1–…
- input.acceleratorOptions__cacheEndStepPercentage
- Cache End Step Percentage — 1–100
- input.acceleratorOptions__cacheMaxConsecutiveSteps
- Cache Max Consecutive Steps — 1–5 · по умолчанию 3
- input.acceleratorOptions__cacheStartStep
- Cache Start Step — 0–…
- input.acceleratorOptions__cacheStartStepPercentage
- Cache Start Step Percentage — 0–99
- input.acceleratorOptions__dbCache
- DB Cache
- input.acceleratorOptions__dbCacheSkipInterval
- DB Cache Skip Interval — 1–… · по умолчанию 5
- input.acceleratorOptions__dbCacheThreshold
- DB Cache Threshold — 0–1 · по умолчанию 0.25
- input.acceleratorOptions__fbCache
- FB Cache
- input.acceleratorOptions__fbCacheThreshold
- FB Cache Threshold — 0–1 · по умолчанию 0.25
- input.acceleratorOptions__teaCache
- TeaCache
- input.acceleratorOptions__teaCacheDistance
- TeaCache Distance — 0–1 · по умолчанию 0.5
- input.advancedFeatures__layerDiffuse
- Layer Diffuse
- input.advancedFeatures__watermark__bgColor
- Background Color
- input.advancedFeatures__watermark__displayPosition
- Display Position — top-left, top-center, top-right, center-left, center-center, center-right, bottom-left, bottom-center, …
- input.advancedFeatures__watermark__fontColor
- Font Color
- input.advancedFeatures__watermark__image
- Watermark Image
- input.advancedFeatures__watermark__opacity
- Watermark Opacity — 0.1–1
- input.advancedFeatures__watermark__text
- Watermark Text
- input.height *
- Height — 128–2048
- input.maskMargin
- Mask Margin — 32–128
- input.numberResults
- Number of Results — 1–20 · по умолчанию 1
- input.outpaint__blur
- Outpaint Blur — 0–32
- input.outpaint__bottom
- Outpaint Bottom — 0–…
- input.outpaint__left
- Outpaint Left — 0–…
- input.outpaint__right
- Outpaint Right — 0–…
- input.outpaint__top
- Outpaint Top — 0–…
- input.outputFormat
- Output Format — JPG, PNG, WEBP · по умолчанию PNG
- input.outputQuality
- Output Quality — 20–99 · по умолчанию 95
- input.promptWeighting
- Prompt Weighting — sdEmbeds
- input.pulid__CFGstartStep
- CFG Start Step — 0–…
- input.pulid__CFGstartStepPercentage
- CFG Start Step Percentage — 0–99
- input.pulid__idWeight
- ID Weight — 0–3 · по умолчанию 1
- input.pulid__trueCFGScale
- True CFG Scale — 0–10
- input.scheduler
- Scheduler — DDIM, DDIMScheduler, DDPMScheduler, DEISMultistepScheduler, Default, DPM++, DPM++ 2M, DPM++ 2M Beta, …
- input.seed
- Seed — 0–9223372036854776000
- input.steps
- Steps — 1–100 · по умолчанию 20
- input.strength
- Strength — 0–1 · по умолчанию 0.8
- input.trueCFGScale
- True CFG Scale
- input.ultralytics__CFGScale
- CFG Scale — 0–50 · по умолчанию 8
- input.ultralytics__confidence
- Confidence — 0–1 · по умолчанию 0.9
- input.ultralytics__inpaintSize
- Inpaint Size — 128–2048 · по умолчанию 1024
- input.ultralytics__maskBlur
- Mask Blur — 0–100 · по умолчанию 5
- input.ultralytics__maskPadding
- Mask Padding — 0–20 · по умолчанию 5
- input.ultralytics__negativePrompt
- Negative Prompt
- input.ultralytics__positivePrompt
- Positive Prompt
- input.ultralytics__steps
- Steps — 1–100 · по умолчанию 20
- input.ultralytics__strength
- Strength — …–1 · по умолчанию 0.3
- input.width *
- Width — 128–2048
- files.inputs__maskImage
- картинка · до 20 МБ
- files.inputs__seedImage
- картинка · до 20 МБ
curl https://api.aireplica.ru/v1/runs \
-H "Authorization: Bearer sk-air-…" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-1-dev-srpo",
"task": "image_edit",
"prompt": "…",
"input": {
"height": 128,
"width": 128
}
}'картинка по тексту task: text_to_image
- prompt
- текст запроса
- input.CFGScale
- CFG Scale — 0–50
- input.acceleratorOptions__cacheEndStep
- Cache End Step — 1–…
- input.acceleratorOptions__cacheEndStepPercentage
- Cache End Step Percentage — 1–100
- input.acceleratorOptions__cacheMaxConsecutiveSteps
- Cache Max Consecutive Steps — 1–5 · по умолчанию 3
- input.acceleratorOptions__cacheStartStep
- Cache Start Step — 0–…
- input.acceleratorOptions__cacheStartStepPercentage
- Cache Start Step Percentage — 0–99
- input.acceleratorOptions__dbCache
- DB Cache
- input.acceleratorOptions__dbCacheSkipInterval
- DB Cache Skip Interval — 1–… · по умолчанию 5
- input.acceleratorOptions__dbCacheThreshold
- DB Cache Threshold — 0–1 · по умолчанию 0.25
- input.acceleratorOptions__fbCache
- FB Cache
- input.acceleratorOptions__fbCacheThreshold
- FB Cache Threshold — 0–1 · по умолчанию 0.25
- input.acceleratorOptions__teaCache
- TeaCache
- input.acceleratorOptions__teaCacheDistance
- TeaCache Distance — 0–1 · по умолчанию 0.5
- input.advancedFeatures__layerDiffuse
- Layer Diffuse
- input.advancedFeatures__watermark__bgColor
- Background Color
- input.advancedFeatures__watermark__displayPosition
- Display Position — top-left, top-center, top-right, center-left, center-center, center-right, bottom-left, bottom-center, …
- input.advancedFeatures__watermark__fontColor
- Font Color
- input.advancedFeatures__watermark__image
- Watermark Image
- input.advancedFeatures__watermark__opacity
- Watermark Opacity — 0.1–1
- input.advancedFeatures__watermark__text
- Watermark Text
- input.height *
- Height — 128–2048
- input.maskMargin
- Mask Margin — 32–128
- input.numberResults
- Number of Results — 1–20 · по умолчанию 1
- input.outpaint__blur
- Outpaint Blur — 0–32
- input.outpaint__bottom
- Outpaint Bottom — 0–…
- input.outpaint__left
- Outpaint Left — 0–…
- input.outpaint__right
- Outpaint Right — 0–…
- input.outpaint__top
- Outpaint Top — 0–…
- input.outputFormat
- Output Format — JPG, PNG, WEBP · по умолчанию PNG
- input.outputQuality
- Output Quality — 20–99 · по умолчанию 95
- input.promptWeighting
- Prompt Weighting — sdEmbeds
- input.pulid__CFGstartStep
- CFG Start Step — 0–…
- input.pulid__CFGstartStepPercentage
- CFG Start Step Percentage — 0–99
- input.pulid__idWeight
- ID Weight — 0–3 · по умолчанию 1
- input.pulid__trueCFGScale
- True CFG Scale — 0–10
- input.scheduler
- Scheduler — DDIM, DDIMScheduler, DDPMScheduler, DEISMultistepScheduler, Default, DPM++, DPM++ 2M, DPM++ 2M Beta, …
- input.seed
- Seed — 0–9223372036854776000
- input.steps
- Steps — 1–100 · по умолчанию 20
- input.strength
- Strength — 0–1 · по умолчанию 0.8
- input.trueCFGScale
- True CFG Scale
- input.ultralytics__CFGScale
- CFG Scale — 0–50 · по умолчанию 8
- input.ultralytics__confidence
- Confidence — 0–1 · по умолчанию 0.9
- input.ultralytics__inpaintSize
- Inpaint Size — 128–2048 · по умолчанию 1024
- input.ultralytics__maskBlur
- Mask Blur — 0–100 · по умолчанию 5
- input.ultralytics__maskPadding
- Mask Padding — 0–20 · по умолчанию 5
- input.ultralytics__negativePrompt
- Negative Prompt
- input.ultralytics__positivePrompt
- Positive Prompt
- input.ultralytics__steps
- Steps — 1–100 · по умолчанию 20
- input.ultralytics__strength
- Strength — …–1 · по умолчанию 0.3
- input.width *
- Width — 128–2048
- files.inputs__maskImage
- картинка · до 20 МБ
- files.inputs__seedImage
- картинка · до 20 МБ
curl https://api.aireplica.ru/v1/runs \
-H "Authorization: Bearer sk-air-…" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-1-dev-srpo",
"task": "text_to_image",
"prompt": "…",
"input": {
"height": 128,
"width": 128
}
}'* — обязательно. Файлы — ссылкой https, data-URI или gen_<id> прежнего запуска.
Куда слать запрос
базовый адрес
https://api.aireplica.ru/v1
заголовок авторизации
Authorization: Bearer sk-air-…
Резервный маршрут в обход OpenRouter скоро
Проверьте параметры перед переносом
В резерв входят картинки, а не промпт
Перед генерацией замораживается стоимость запрошенного числа картинок; текст промпта в резерв не входит. Списывается чек провайдера за весь запрос — одной суммой.
Разница возвращается
После ответа неиспользованный остаток резерва возвращается на баланс.
Если модель снимут
Провайдеры снимают модели с публикации. Каталог сверяется с провайдером каждую ночь: снятая модель гаснет, и её страница перестаёт предлагать запросы.