Model parameters
- Model ID:
kling-image-v3 - Pricing: Check the model details page for current prices.
- Endpoint:
https://geekai.co/api/v1/images/generations - Parameters: See the Image API reference.
- Authentication: Get an API key.
The following common Image API parameters are not supported:
seedqualitystyle_presetresponse_formatoutput_formatmaskbackground
aspect_ratio:
- 1:1
- 16:9
- 4:3
- 3:2
- 2:3
- 3:4
- 9:16
- 21:9
size instead of the official resolution to set the image resolution. Supported values for size:
1k(default)2k
watermark instead of the official watermark_info to control whether the generated output has a watermark. watermark accepts true or false and defaults to false.
Text-to-image generation
Generate an image from a text description:n to the number you want, up to 9.
Image-to-image generation
Single image- Supply a Base64-encoded image or a publicly accessible image URL. For the mainland China version, the URL must be accessible from mainland China; otherwise, use Base64.
- Supported formats: .jpg, .jpeg, and .png.
- Each file must be no larger than 10 MB. Both dimensions must be at least 300 px, and the aspect ratio must be between 1:2.5 and 2.5:1.
- At most 1 reference image.
