PixAI Platform
API DocumentationMedia

Get media image by ID

Redirect with HTTP 302 to the image file of a media item, so a media ID can be used directly as an image URL.

GET
/media/{mediaId}/image

Path Parameters

mediaId*string

ID of media that needs to be fetched

Response Body

curl -X GET "https://api.pixai.art/v1/media/string/image"
Empty
Empty