Skip to content
Pixii

Download visuals

Pack every completed visual Pixii has generated for a product into one zip.

Get everything Pixii has generated for a product as one zip. Pixii finds every session created for the product, collects the completed visuals, and builds a zip with one folder per session.

This endpoint is free. It only reads existing visuals; nothing is generated.

This is an async endpoint. It returns a job_id immediately. Use the Jobs API to poll for the result.

Endpoint

POST /v2/api/download_visuals

Request body

Parameter Type Required Description
brand_id number Optional The brand to work in. Take it from Brands. Defaults to your default brand.
product object Required The product to download for. Pass asin and country_code, or product_id. A Walmart item ID or an Amazon, Walmart or Shopify product page URL in asin names the saved product too. See the product fields. Images are not accepted here.
compliances string[] Optional Compliance marks for the images. Amazon adds AI-content metadata to images with AI-generated people, New York adds the required visible AI-generated notice to them, EU adds an invisible watermark plus a signed content certificate. Only the marks you pass are applied. Omit it for an unmarked zip.

The product must already exist in your Pixii account. If you have never generated anything for it, the job fails with PRODUCT_NOT_FOUND; if it exists but has no completed visuals, with NO_VISUALS_FOUND.

Response

A successful request returns 200 with a job id. Use the Jobs API to retrieve the result.

FieldTypeDescription
job_idstringUnique identifier for the job. Use this to poll for results.
job_typestringAlways download_visuals for this endpoint.
brand_idnumberThe brand the job runs in.
statusstringInitial status. Always pending on submission.
created_atstringISO 8601 timestamp of when the job was created.
credit_costnumberAlways 0.
remaining_creditsnumberCredits remaining on your account.

Job output

When the job completes, output contains:

FieldTypeDescription
productobjectproduct_id, asin and country_code of the product.
session_idsstring[]The sessions included in the zip, one folder each.
visual_countnumberHow many completed visuals were found.
zip_urlstringSigned URL of the zip. Minted fresh on every read of the job.
zip_url_expires_atstringISO 8601 expiry of zip_url.

Errors

CodeHTTPDescription
VALIDATION_ERROR400One or more request parameters are invalid.
NO_ACTIVE_BRAND400No active brand found for your organization.
BRAND_NOT_FOUND404No active brand with this brand_id in your organization.
UNAUTHORIZED401Missing or invalid API key.
RATE_LIMIT_MINUTE_EXCEEDED429Too many requests in the current minute window.
RATE_LIMIT_DAY_EXCEEDED429Daily request limit reached.
INTERNAL_ERROR500An unexpected error occurred.
SERVICE_UNAVAILABLE503Service is temporarily unavailable.

Job-level failures are reported through the job’s error object: PRODUCT_NOT_FOUND when the product is unknown to your account and NO_VISUALS_FOUND when it has no completed visuals. See the errors reference.