Endpoint
RUN INFERENCE
curl -X POST "https://aitradestore.com/api/v1/images/generations" -H "Authorization: Bearer $AITRADESTORE_API_KEY" -H "Content-Type: application/json" -d '{ "model": "black-forest-labs/FLUX.1-schnell-fixedres", "prompt": "Cats eating popcorn", "steps": 10, "n": 4 }'
JSON RESPONSE
from aitradestore import AiTradeStore client = AiTradeStore() response = client.images.generate( prompt="Cats eating popcorn", model="black-forest-labs/FLUX.1-schnell-fixedres", steps=10, n=4 ) print(response.data[0].b64_json)
import AiTradeStore from "ai-tradestore"; const aitradestore = new AiTradeStore(); const response = await aitradestore.images.create({ model: "black-forest-labs/FLUX.1-schnell-fixedres", prompt: "Cats eating popcorn", steps: 10, n: 4 }); console.log(response.data[0].b64_json);
Model Provider:
FLUX
Type:
Image
Variant:
[schnell]
Parameters:
12B
Deployment:
✔ Serverless
Quantization
Context length:
Pricing:
See pricing