fal-ai/flux-pro/kontext/text-to-image
FLUX Kontext — context-aware image generation with text rendering. Accepts a user-supplied image_url for true image-conditioned generation/editing — verified as a required-capable param via FAL's API docs, 2026-06-21.
OpenAI-compatible — point any OpenAI SDK at our base URL and use the model id above.
curl https://trismegistus.app/api/v1/chat/completions \
-H "Authorization: Bearer $TRISMEGISTUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "fal-ai/flux-pro/kontext/text-to-image",
"messages": [{"role": "user", "content": "Hello!"}]
}'