generate_and_upload_image
Generate and upload custom images using AI by providing a text prompt, file name, and optional parameters like dimensions, aspect ratio, and output format. Integrates with Printify MCP Server for print-on-demand product design.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aspectRatio | No | Aspect ratio (e.g., '16:9', '4:3', '1:1'). If provided, overrides width and height | |
fileName | Yes | File name for the uploaded image | |
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 |
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 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"aspectRatio": {
"description": "Aspect ratio (e.g., '16:9', '4:3', '1:1'). If provided, overrides width and height",
"type": "string"
},
"fileName": {
"description": "File name for the uploaded image",
"type": "string"
},
"guidanceScale": {
"default": 7.5,
"description": "Guidance scale",
"type": "number"
},
"height": {
"default": 1024,
"description": "Image height in pixels",
"type": "number"
},
"imagePromptStrength": {
"description": "Image prompt strength 0-1 (Flux 1.1 Pro Ultra only)",
"type": "number"
},
"model": {
"description": "Optional: Override the default model. Use get_defaults to see available models",
"type": "string"
},
"negativePrompt": {
"default": "low quality, bad quality, sketches",
"description": "Negative prompt",
"type": "string"
},
"numInferenceSteps": {
"default": 25,
"description": "Number of inference steps",
"type": "number"
},
"outputFormat": {
"default": "png",
"description": "Output format",
"enum": [
"jpeg",
"png",
"webp"
],
"type": "string"
},
"outputQuality": {
"description": "Output quality 1-100 (Flux 1.1 Pro only)",
"type": "number"
},
"prompt": {
"description": "Text prompt for image generation",
"type": "string"
},
"promptUpsampling": {
"description": "Enable prompt upsampling (Flux 1.1 Pro only)",
"type": "boolean"
},
"raw": {
"description": "Generate less processed, more natural-looking images (Flux 1.1 Pro Ultra only)",
"type": "boolean"
},
"safetyTolerance": {
"default": 2,
"description": "Safety tolerance (0-6)",
"type": "number"
},
"seed": {
"description": "Random seed for reproducible generation",
"type": "number"
},
"width": {
"default": 1024,
"description": "Image width in pixels",
"type": "number"
}
},
"required": [
"prompt",
"fileName"
],
"type": "object"
}