generateImage
Generate images using AI models (FLUX, Stable Diffusion, Imagen4)
Parameters:
• prompt (string): Description of the image
• model (string): AI model to use
• size (string): Image dimensions
• style (string): Art style or technique
listProducts
Browse available print products and their specifications
Parameters:
• category (string, optional): Product category filter
• limit (number, optional): Number of results to return
getProductMockup
Generate product mockups with your designs
Parameters:
• productId (string): Product identifier
• imageUrl (string): URL of the design image
• variant (string, optional): Product variant
estimateCost
Get pricing estimates for print orders
Parameters:
• items (array): List of products and quantities
• shippingAddress (object): Destination address
• shippingLevel (string): Shipping speed preference
createOrder
Place orders for physical products
Parameters:
• items (array): Products to order
• shippingAddress (object): Delivery address
• billingInfo (object): Payment information
• shippingLevel (string): Shipping method