cURL
curl --request POST \ --url https://api.veryfront.com/projects/{project_reference}/images/generate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "prompt": "A futuristic cityscape at sunset with flying cars", "count": 2 } '
{ "sources": [ "<string>" ], "count": 123 }
Generate AI images using Cloudflare AI with Flux Schnell model. Images are automatically uploaded to CDN.
Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.
Project ID or slug
Text description of the desired image (max 1000 characters)
1000
Number of images to generate (1-10, default: 1)
1 <= x <= 10
Random seed for reproducible generation
1 <= x <= 999999
Images generated successfully
Array of CDN URLs for generated images
Number of images successfully generated