transform_image
Transform existing images using text prompts to modify visual content through AI-powered image-to-image generation.
Instructions
Transform an existing image using a text prompt (img2img). Either image_path or image_base64 must be provided.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the desired transformation | |
| image_path | No | Path to the source image file to transform | |
| image_base64 | No | Base64-encoded source image (alternative to image_path) | |
| negative_prompt | No | Elements to exclude from the transformed image | |
| denoising_strength | No | Strength of the transformation (0.0-1.0, default: 0.75). Lower values keep more of the original image. | |
| steps | No | Number of inference steps (default: 20) | |
| cfg_scale | No | Classifier-free guidance scale (default: 7.5) | |
| seed | No | Random seed for reproducibility (-1 for random) | |
| output_path | No | Custom file path to save the transformed image |