AI Image Generation
ProductFlo provides powerful AI image generation capabilities through various models and providers. These endpoints allow you to generate, manipulate, and analyze images using state-of-the-art AI models.Image Generation Models
- OpenAI DALL-E
- Stability AI
- Replicate
- Recraft
Generates high-quality images from text descriptions using OpenAI’s DALL-E 3 model.
Generate Images with DALL-E
POST /image-generation-openai
Generate images using OpenAI’s DALL-E 3 model
Request
- cURL
- Python
Request Body
string
required
The text description of the image to generate
integer
default:1
Number of images to generate (1-4)
string
Optional folder path where generated images will be saved
Response
string
Status of the operation (COMPLETED, PROCESSING, ERROR)
array
Array of URLs to the generated images
string
Error message if generation failed
string
Timestamp of when the images were generated
Generate Images with Stability AI
POST /image-generation-stability
Generate images using Stability AI models
Request
- cURL
Request Body
string
required
The text description of the image to generate
string
Elements to avoid in the generated image
integer
default:1
Number of images to generate (1-4)
string
Optional folder path where generated images will be saved
Response
Same structure as the OpenAI endpoint response.Generate Product Photos
POST /image-generation-product-photo
Generate professional product photos
Request
- cURL
Request Body
string
required
The text description of the product to generate
string
Elements to avoid in the generated image
string
Optional URL to a reference image for image-to-image generation
integer
default:1
Number of images to generate (1-4)
string
Optional folder path where generated images will be saved
Response
Same structure as the OpenAI endpoint response.Generate Product Mockups
POST /image-generation-product-mockups
Generate product mockups in various contexts
Request Body
string
required
The text description of the product mockup to generate
string
Elements to avoid in the generated mockup
string
Optional URL to a reference image of the product
integer
default:1
Number of images to generate (1-4)
string
Optional folder path where generated images will be saved
Image Analysis with Vision API
POST /image-analysis
Analyze images using AI vision capabilities
Request
- cURL
Request Body
string
required
The question or instruction for analyzing the image
string
required
URL to the image to be analyzed
Response
string
Status of the operation (COMPLETED, PROCESSING, ERROR)
string
Detailed analysis of the image based on the prompt
string
Error message if analysis failed
string
Timestamp of when the analysis was performed
Recraft Image Processing
ProductFlo integrates with Recraft AI for specialized image processing tasks.Vectorize Image
POST /recraft-vectorize
Convert raster images to vector graphics
Request Body
string
Optional text description to guide the vectorization
string
required
URL to the image to be vectorized
Remove Background
POST /recraft-remove-background
Remove backgrounds from images
Request Body
string
required
URL to the image to process
Upscale Image
POST /recraft-upscale
Enhance image resolution
Request Body
string
required
Path to the source image
integer
default:2
Upscaling factor (1-4)
string
default:"clarity"
Upscaling mode (clarity or generative)
Custom AI Styles
Create Custom Style
POST /recraft-create-style
Create a custom image generation style
Request Body
string
required
Name for the custom style
array
required
List of paths to reference images
string
Optional style description
List Styles
GET /recraft-list-styles
List available custom styles
Get Style
GET /recraft-get-style/{style_id}
Get details of a specific custom style