Poe API
Turbo speed image generation with strengths in prompt following, visual quality, image detail and output diversity. This is the fastest version of FLUX.1. Use "--aspect" to select an aspect ratio (e.g --aspect 1:1). Valid aspect ratios are 16:9, 4:3, 1:1, 3:4, 9:16. Send an image to have this model reimagine/regenerate it via FLUX Redux.
Powered by a server managed by @fal. Learn more
- OFFICIAL
Build with FLUX-schnell using the Poe API
Start by creating an API key, for use with any bot on Poe:
Code samples
python
import openai
client = openai.OpenAI(
api_key = "YOUR_POE_API_KEY", # or os.getenv("POE_API_KEY")
base_url = "https://api.poe.com/v1",
)
chat = client.chat.completions.create(
model = "flux-schnell",
messages = [{
"role": "user",
"content": "Photograph of a glamorous Hollywood kitten in a studio portrait, taken with a large format camera in 1930"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.