A 12-billion parameter text-to-image model by Black Forest Labs using rectified flow transformer architecture. Distilled from FLUX.1 [pro] via guidance distillation, it achieves near-flagship quality with improved efficiency. Supports text-to-image, image-to-image, and inpainting modes up to 1536×1536 resolution.
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"23##text":"A close-up of a very pretty woman with stunning green eyes, a defined cupid's bow, and long, straight hair, showcasing her flawless features and soft expression.\n","43##select":"1","48##file_type":"PNG"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location'https://www.runninghub.ai/openapi/v2/rhart-image/f-dev' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data'{
"23##text": "A close-up of a very pretty woman with stunning green eyes, a defined cupid'\''s bow, and long, straight hair, showcasing her flawless features and soft expression.\n",
"43##select": "1","48##file_type": "PNG"
}'