---
title: "Upload artwork (JSON svg/base64/url, or a raw image body)"
method: POST
path: "/v1/artworks"
---

# Upload artwork (JSON svg/base64/url, or a raw image body)

`POST /v1/artworks`

## Request

- Base URL: `https://pod.agentmade.dev`
- URL: `https://pod.agentmade.dev/v1/artworks`
- Auth: none declared

## Request body

- ArtworkSource
  - `svg` string: Inline SVG markup. Best for logos and text.
  - `base64` string: Base64-encoded PNG, JPEG or SVG file contents, no data: prefix. Only for files up to about 2 MB; for larger files use url, file or upload_link.
  - `url` string, uri: Public HTTPS URL of a PNG, JPEG or SVG file.
  - `filename` string

## Response `201`

Artwork analysis

- ArtworkUpload
  - `artwork_id` string, required

## Other responses

- `4XX`: Error with a machine-readable code and a hint for the next step
- `5XX`: Error with a machine-readable code and a hint for the next step

---

[API](https://skmtc.dev/agentmade/apis/agentmade-print-on-demand-api.md) · [All operations](https://skmtc.dev/agentmade/apis/agentmade-print-on-demand-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentmade/apis/agentmade-print-on-demand-api/revisions/542fad1de43b?raw)
