Image Generation API
Generate images from text prompts. Supports DALL-E 3, Flux, and more.
Endpoint
http
POST https://api.tk-novalink.com/v1/images/generationsParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model name, e.g. dall-e-3 |
| prompt | string | Yes | Image description prompt |
| n | integer | No | Number of images, default 1 |
| size | string | No | Size: 1024x1024, 1792x1024, 1024x1792 |
| quality | string | No | Quality: standard or hd |
Request Example
bash
curl -X POST "https://api.tk-novalink.com/v1/images/generations" \
-H "Authorization: Bearer sk-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "dall-e-3",
"prompt": "A cute baby sea otter wearing a tiny hat",
"n": 1,
"size": "1024x1024"
}'Supported Models
| Model | Description | Billing |
|---|---|---|
| dall-e-3 | OpenAI DALL-E 3 | Per image |
| dall-e-2 | OpenAI DALL-E 2 | Per image |
| flux-pro | Flux Pro | Per image |
| flux-schnell | Flux Fast | Per image |
| seedream | SeeDream | Per image |
Next
Image Editing API