generate_image
Create custom images from text prompts using Kling AI. Supports multiple aspect ratios, character reference images, and adjustable parameters for precise creative output.
Instructions
Generate images from text prompts using Kling AI. Create high-quality images with multiple aspect ratios and optional character reference support. Supports models v1, v1.5, and v2 with customizable parameters for creative control.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aspect_ratio | No | Image aspect ratio (default: 1:1) | |
model_name | No | Model version to use (default: kling-v2-master) | |
negative_prompt | No | Text describing what to avoid in the image (optional) | |
num_images | No | Number of images to generate (default: 1) | |
prompt | Yes | Text prompt describing the image to generate | |
ref_image_url | No | Optional reference image URL for character consistency | |
ref_image_weight | No | Weight of reference image influence (0-1, default: 0.5) |