flux-dev
FLUX · Per Image
flux-1-devAvailableImageImage GenerationContext Window: 4KMax Output Tokens: 4K
Pricing
| Official Price | LemonData Price | |
|---|---|---|
| Price | $0.025 | $0.0175 |
Parameters
Context Window
4K tokens
Max Output Tokens
4K tokens
Best For
Image Generation
Creating images, illustrations, and visual content
API Code Example
POST/v1/images/generations
curl https://api.lemondata.cc/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-xxx" \
-d '{
"model": "flux-1-dev",
"prompt": "A beautiful sunset over mountains",
"size": "1024x1024",
"n": 1
}'FAQ
How much does flux-dev cost?
On LemonData, flux-dev costs N/A per 1M input tokens and N/A per 1M output tokens, which is up to 30% off the official pricing.
What is flux-dev best for?
flux-dev excels at Image, Image Generation. Access it through LemonData's unified API with a single API key.
How to use flux-dev API?
Get your API key from LemonData, set the base URL to api.lemondata.cc/v1, and use any OpenAI-compatible SDK. See the code examples above.