API Access
API Endpoint
Use the following endpoint to generate images programmatically:
POST /api/generate-image
Include your API key in the x-api-key header.
Request Syntax
Send a JSON body with your prompt and desired style:
{
"prompt": "boy in coffee house",
"style": "anime"
}Example Request (cURL)
curl -X POST \n /api/generate-image \n -H "Content-Type: application/json" \n -H "x-api-key: YOUR_API_KEY" \n -d '{"prompt": "boy in coffee house", "style": "anime"}'Request an API Key
Fill out the form below to request access to the Chobigraph API. We will contact you with your API key.