FLUX 1.1 [pro]
flux_pro_11
FLUX 1.1 [pro] is an advanced AI image generation model with professional quality and enhanced creative control.
Эндпоинты
Заголовок раздела «Эндпоинты»POST /v1/queue/flux_pro_11 # Создать задачуGET /v1/queue/flux_pro_11/requests/{request_id}/status # Проверить статусGET /v1/queue/flux_pro_11/requests/{request_id}/response # Получить результатPUT /v1/queue/flux_pro_11/requests/{request_id}/cancel # Отменить задачуПараметры запроса
Заголовок раздела «Параметры запроса»curl --location "https://odirouter.ai/model/v1/queue/flux_pro_11" \ --header "Authorization: Bearer YOUR_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "prompt": "A clean product photo of a red apple on a white table, soft studio lighting.", "width": 1024, "height": 768, "prompt_upsampling": false, "seed": 42, "safety_tolerance": 2, "output_format": "jpeg" }'Text description of the desired image.
Base64 image used to guide image generation.
Image width. Must be a multiple of 32.
Range: 256 - 1440
Default: 1024
Image height. Must be a multiple of 32.
Range: 256 - 1440
Default: 768
Whether to upsample the prompt. When enabled, the prompt is automatically modified for more creative generation.
Default: false
Random seed used to reproduce results. Accepts any integer, for example 42.
Safety tolerance level for input and output moderation. 0 is the strictest and 6 is the most permissive.
Range: 0 <= x <= 6
Default: 2
Output format.
Options: jpeg, png
Default: jpeg
Параметры ответа
Заголовок раздела «Параметры ответа»{ "request_id": "mmsu_01hxyz...", "response_url": "https://odirouter.ai/model/v1/queue/flux_pro_11/requests/mmsu_01hxyz.../response", "status_url": "https://odirouter.ai/model/v1/queue/flux_pro_11/requests/mmsu_01hxyz.../status", "cancel_url": "https://odirouter.ai/model/v1/queue/flux_pro_11/requests/mmsu_01hxyz.../cancel", "queue_position": 0}| Поле | Тип | Описание |
|---|---|---|
request_id | string | Идентификатор задачи, используемый во всех последующих операциях. |
response_url | string | URL для получения итогового результата. |
status_url | string | URL для проверки статуса задачи. |
cancel_url | string | URL для отмены задачи. |
queue_position | int | Текущая позиция в очереди. |