You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making requests to the https://civitai.com/api/v1/images endpoint, there is currently an issue with the clarity of distinction between images and videos in the API response. The response does not provide sufficient information or metadata to easily determine whether a given resource is an image or a video.
Issue Details:
There are instances where videos in JPEG format are included in the response.
The lack of clear indicators or metadata makes it challenging to programmatically differentiate between images and videos.
This creates difficulties when attempting to display content on the UI, as videos in JPEG format may not load or render properly in image tags.
Request:
I kindly request clarification on how to reliably distinguish between images and videos in the /api/v1/images response. Additionally, if applicable, an improvement in the API documentation to provide clear guidance on handling different types of content would be greatly beneficial.
What happened?
When making requests to the https://civitai.com/api/v1/images endpoint, there is currently an issue with the clarity of distinction between images and videos in the API response. The response does not provide sufficient information or metadata to easily determine whether a given resource is an image or a video.
Issue Details:
Request:
I kindly request clarification on how to reliably distinguish between images and videos in the /api/v1/images response. Additionally, if applicable, an improvement in the API documentation to provide clear guidance on handling different types of content would be greatly beneficial.
Steps to reproduce the problem
but this is a video and there no data to determine this is a image or video .
so when we display
is UI some img tag display broken because of response we get is in jpeg type but it's a video type when we directly open that url
What should have happened?
response should contained meta data like
What platforms do you use to access the site?
Windows
What browsers do you use to access the site?
Google Chrome
Additional information, context and logs
No response
The text was updated successfully, but these errors were encountered: