Skip to main content
POST
Upload Design

Upload Design

Upload a design image and receive a URL for use with the /generate endpoint.
This endpoint is free — no tokens required.

Endpoint

Request Formats

Multipart Form Upload

Send the image as multipart/form-data:

Base64 JSON Upload

Send base64-encoded image data:

Constraints

Response

string
Unique upload identifier.
string
Public URL of the uploaded image. Use this with /generate.
string
Smaller thumbnail version.
object
number
File size in bytes.
string
Detected MIME type.

Example

Response Example

Full Workflow

Upload → Analyze → Generate:

Image Preparation Tips

PNG preserves alpha channels for transparent backgrounds, essential for printing on colored garments.
Upload at 300 DPI or higher. For a 12” wide print, that’s at least 3600px wide.
Ensure images are in sRGB color space for consistent color representation.
Trim transparent borders to get accurate placement calculations.

Errors