MockAnything AI API
API key required for authentication.
The request must accept JSON responses.
API key required for authentication.
YOUR_API_KEY_HEREText prompt used to AI-generate the mockup image. Required unless image_url or image_file is provided.
URL of an existing image to use as the mockup image. Required unless prompt or image_file is provided.
Whether to run prompt enhancement before generation. Only applies to the prompt flow.
AI model used for generation. Only applies to the prompt flow. Required when style is provided. When omitted, product-backed generations default to nano_banana_2 and prompt-only generations without a product default to seedream_4_0. nano_banana_lite and gpt_image_2 apply to product-backed generations (a product.uuid present).
Visual style applied to the AI generation (e.g. polaroid-etsy, ugc, fashion). Use GET /mock-anything/styles?model={model} to list the styles available for a given model; not every model supports every style. When style is provided, model is required.
polaroid-etsyOptional mockup name shown in the dashboard and returned in the mockup.name field.
Optional UUID of the catalog the mockup belongs to. Defaults to the workspace's default catalog.
Template creation started.
Bad request due to invalid input parameters (e.g. missing prompt/image_url/image_file, invalid model, unsupported image type).
Unauthorized request, invalid or missing API key.
No content
No credits available, or the authenticated user does not have access to the provided catalog or collection.
The provided catalog_uuid or a collections[].uuid could not be found.
An exact product color, decoration position, or decoration source does not exist on the selected product.
Failed to start AI generation or upload the provided image.
Product detail is temporarily unavailable, so an explicit color_name, position_id, or source selector cannot be validated safely.
POST /api/v1/mock-anything/create HTTP/1.1
Host: app.dynamicmockups.com
x-api-key: text
Accept: application/json
Content-Type: application/json
Content-Length: 72
{
"prompt": "A man jogging through a sunny park in a plain white t-shirt"
}No content
API key required for authentication.
The task_id returned from POST /mock-anything/create.
f6d7fb41-d32c-4fc3-8db9-37843d3476cfThe request must accept JSON responses.
API key required for authentication.
YOUR_API_KEY_HERETask status retrieved successfully. Response shape depends on task state.
Unauthorized request, invalid or missing API key.
No content
Failed to retrieve task status from the rendering service.
GET /api/v1/mock-anything/status/{taskId} HTTP/1.1
Host: app.dynamicmockups.com
x-api-key: text
Accept: application/json
No content
API key required for authentication.
Search term matched against POD product names.
gildanJSON is recommended; errors return JSON regardless of this header.
API key required for authentication.
YOUR_API_KEY_HEREPOD products matching the query.
Unauthorized request, invalid or missing API key.
No content
Validation error. query is missing or empty.
Failed to fetch POD products.
GET /api/v1/mock-anything/products?query=text HTTP/1.1
Host: app.dynamicmockups.com
x-api-key: text
Accept: */*
No content
API key required for authentication.
UUID of the POD product (from GET /mock-anything/products).
8429f141-5289-4d3b-9a83-7417130adc3aThe request must accept JSON responses.
API key required for authentication.
YOUR_API_KEY_HEREProduct detail retrieved successfully.
Unauthorized request, invalid or missing API key.
No content
Product not found.
Failed to fetch the product detail.
GET /api/v1/mock-anything/products/{uuid} HTTP/1.1
Host: app.dynamicmockups.com
x-api-key: text
Accept: application/json
No content
API key required for authentication.
Optional model filter. When provided, only styles available for that model are returned.
nano_banana_2Possible values: The request must accept JSON responses.
API key required for authentication.
YOUR_API_KEY_HEREAvailable styles.
Bad request. Invalid model value.
Unauthorized request, invalid or missing API key.
No content
Failed to fetch styles.
GET /api/v1/mock-anything/styles HTTP/1.1
Host: app.dynamicmockups.com
x-api-key: text
Accept: application/json
No content
Overview
Workflow
Three ways to create a mockup
Polling for completion
Using your new mockup
Grounding the AI with a product
Targeting decoration areas
Set visual direction with a style
Catalogs and collections
Choosing a model
Rate Limit
Last updated