/ai/v1/chat/completions
-s <ratio>
: Set image size ratio (e.g., -s 1:1, -s 16:9)-o
: Use original prompt without enhancement
{
"model": "flux",
"messages": [
{
"role": "user",
"content": "A beautiful landscape -s 16:9"
}
]
}
For more details, please refer to the API documentation.