Preview an asset
Shows an image asset as a model can look at it: upright, at most 1568 pixels on its longest side, as base64 JPEG.
Guide: Fonts and images
Errors
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request | image_unreadable | For an asset that is not a JPEG, PNG, WebP or GIF image. |
| 400 | invalid_request | image_too_large | For one over 30 MB. |
| 404 | not_found | asset_not_found | — |
It can also fail with the errors every operation shares, such as unauthenticated; see Errors.
More in Assets
- List assets
GET - Retrieve an asset
GET
Something wrong or missing on this page? Tell us by email or on Discord.