POST
/
kling
/
image
/
generate
curl -X POST https://www.anyfast.ai/kling/image/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cute cat"
  }'
Generate images using the Kuaishou Kling model.

Request Parameters

prompt
string
required
Image description prompt.
negative_prompt
string
Negative prompt.
aspect_ratio
string
Aspect ratio.
curl -X POST https://www.anyfast.ai/kling/image/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cute cat"
  }'