---
title: "Render a design and stream the image (app session)"
method: POST
path: "/designs/v2/{id}/export"
tags: ["Render"]
---

# Render a design and stream the image (app session)

`POST /designs/v2/{id}/export`

## Request

- Base URL: `https://api.imejis.io`
- URL: `https://api.imejis.io/designs/v2/{id}/export`
- Auth: HTTP bearer

Render a v2 design with the signed-in session (Bearer), returning the image bytes. Like the render-key endpoint but authenticated as the user; each call consumes one render from quota and is refunded on failure.

## Path parameters

- `id` string, required

## Query parameters

- `format` 'png' | 'jpeg' | 'webp' | 'pdf'
- `quality` integer
- `variation` string
- `draft` boolean

## Request body

- object

## Response `200`

The image bytes.

## Other responses

- `401`: Missing or invalid credentials.
- `404`: No such resource.
- `429`: Render quota is used up. Check remaining quota, then retry after the plan window resets (`data.resetAt`).

---

[API](https://skmtc.dev/imejis/apis/imejis-api.md) · [All operations](https://skmtc.dev/imejis/apis/imejis-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imejis/apis/imejis-api/revisions/4efd1a660d9c?raw)
