generate_image
Create custom images based on text prompts using AI. Specify dimensions, aspect ratio, output format, and quality. Save images to a defined path for integration with Printify's print-on-demand platform.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aspectRatio | No | Aspect ratio (e.g., '16:9', '4:3', '1:1'). If provided, overrides width and height | |
guidanceScale | No | Guidance scale | |
height | No | Image height in pixels | |
imagePromptStrength | No | Image prompt strength 0-1 (Flux 1.1 Pro Ultra only) | |
model | No | Optional: Override the default model. Use get_defaults to see available models | |
negativePrompt | No | Negative prompt | low quality, bad quality, sketches |
numInferenceSteps | No | Number of inference steps | |
outputFormat | No | Output format | png |
outputPath | Yes | Full path where the generated image should be saved | |
outputQuality | No | Output quality 1-100 (Flux 1.1 Pro only) | |
prompt | Yes | Text prompt for image generation | |
promptUpsampling | No | Enable prompt upsampling (Flux 1.1 Pro only) | |
raw | No | Generate less processed, more natural-looking images (Flux 1.1 Pro Ultra only) | |
safetyTolerance | No | Safety tolerance (0-6) | |
seed | No | Random seed for reproducible generation | |
width | No | Image width in pixels |