Loading...
🧪 Interactive Developer Tool
Explore and test every BlinklyAI endpoint interactively. Auto-generated code snippets in Python, Node.js & cURL.
v1.0 — RESTful
/v1/images/generateGenerate an image from a text prompt using the specified AI model.
Don't have an API key? Get one free →
A detailed text description of the image to generate.
The AI model to use for generation.
Image width in pixels (256-2048).
Image height in pixels (256-2048).
Number of images to generate (1-4).
Things to exclude from the generation.
How closely to follow the prompt (1.0-20.0).
import requests
response = requests.post(
"https://api.blinkly.ai/v1/images/generate",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"prompt": "A beautiful sunset over a calm ocean, digital art, vibrant colors, 4k resolution",
"model": "flux-pro",
"width": 1024,
"height": 1024,
"num_images": 1,
"guidance_scale": 7.5
}
)
data = response.json()
print(data)Quick Install
pip install blinkly-aiGet your free API key and start integrating AI generation into your applications today. 100 free credits included.