Rostro Media API
The Media API from Rostro — 1 operation(s) for media.
The Media API from Rostro — 1 operation(s) for media.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/rostro-dev:rostro-dev-media-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Rostro Media API
description: 'Rostro endpoints. For use as an OpenAI mimic, use the URL: ''https://api.rostro.dev/v1''. For use as an MCP server, use the URL: ''https://proto.rostro.dev/mcp''.'
termsOfService: https://rostro.dev/tos
contact:
email: support@rostro.dev
version: 0.5.9
tags:
- name: Media
paths:
/api/media/video/upload:
post:
summary: Upload a video or animation
operationId: upload_animation_api_media_video_upload_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_upload_animation_api_media_video_upload_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/GalleryItem'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/UserError'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/UserError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UserError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/UserError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- CH-API-KEY: []
- Authorization: []
- samwise: []
tags:
- Media
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
APIError:
properties:
error:
type: string
title: Error
description: ''
default: UNKNOWN
message:
type: string
title: Message
description: ''
default: UNKNOWN
type:
type: string
title: Type
description: ''
default: UNKNOWN
code:
anyOf:
- type: integer
- type: string
title: Code
description: ''
default: ''
errorCode:
anyOf:
- type: integer
- type: 'null'
title: Errorcode
description: ''
default: 500
param:
anyOf:
- {}
- type: 'null'
title: Param
description: ''
type: object
title: APIError
GalleryItem:
properties:
generation_uuid:
anyOf:
- type: string
- type: 'null'
title: Generation Uuid
description: The unique identity of the generation, if any.
examples:
- b9ae-6f64957f986a
cost:
anyOf:
- type: number
- type: 'null'
title: Cost
description: Cost in credits, if any.
queue_length:
anyOf:
- type: integer
- type: 'null'
title: Queue Length
description: The queue length.
primary_character_id:
anyOf:
- type: integer
- type: 'null'
title: Primary Character Id
description: The id of the main character used in the image.
secondary_character_ids:
items:
type: integer
type: array
title: Secondary Character Ids
description: The ids of the other characters used in the image.
default: []
lorebook_id:
anyOf:
- type: integer
- type: 'null'
title: Lorebook Id
description: The id of the lorebook used in the image.
primary_image_path:
type: string
maxLength: 1500
minLength: 0
title: Primary Image Path
description: The path where the image is located.
default: ''
user_owned:
type: boolean
title: User Owned
description: Whether the image belongs to the user.
default: false
nsfw_image:
anyOf:
- type: boolean
- type: 'null'
title: Nsfw Image
description: Whether the image is NSFW.
default: false
description:
anyOf:
- type: string
- type: 'null'
title: Description
description: A generated description of the image.
prompt:
anyOf:
- {}
- type: 'null'
title: Prompt
description: Prompt metadata.
is_published:
type: boolean
title: Is Published
description: Whether this has been published.
default: false
comments_enabled:
type: boolean
title: Comments Enabled
description: Whether this has comments enabled.
default: true
is_done:
type: boolean
title: Is Done
description: Whether this generation is completed.
default: true
is_failed:
type: boolean
title: Is Failed
description: Whether this generation is failed.
default: false
parent_image:
anyOf:
- type: string
- type: 'null'
title: Parent Image
description: The UUID of the parent image, if any.
item_id:
anyOf:
- type: string
- type: 'null'
title: Item Id
description: The item_id, if any.
uuid:
type: string
title: Uuid
description: The unique identity of the image.
info:
anyOf:
- $ref: '#/components/schemas/LayerInfo'
- type: 'null'
description: The project info.
name:
anyOf:
- type: string
- type: 'null'
title: Name
description: Optional. Layer name.
preview:
anyOf:
- type: string
- type: 'null'
title: Preview
description: Optional. Layer preview.
type: object
title: GalleryItem
UserError:
properties:
error:
type: string
title: Error
default: ''
errorCode:
anyOf:
- type: integer
- type: 'null'
title: Errorcode
default: 400
code:
anyOf:
- type: integer
- type: 'null'
title: Code
type: object
title: UserError
Body_upload_animation_api_media_video_upload_post:
type: object
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
LayerInfo:
properties:
width:
anyOf:
- type: integer
- type: 'null'
title: Width
description: Optional. Canvas width.
height:
anyOf:
- type: integer
- type: 'null'
title: Height
description: Optional. Canvas height.
dpi:
anyOf:
- type: integer
- type: 'null'
title: Dpi
description: Optional. Canvas height.
z_index:
anyOf:
- type: integer
- type: 'null'
title: Z Index
description: Optional. Layer z index.
opacity:
type: integer
title: Opacity
description: Optional. Layer opacity.
default: 100
duration:
anyOf:
- type: number
- type: 'null'
title: Duration
description: If animation or track, the total duration.
visible:
type: boolean
title: Visible
description: Layer visible.
default: true
locked:
type: boolean
title: Locked
description: Layer locked.
default: false
start_time:
anyOf:
- type: number
- type: 'null'
title: Start Time
description: If animation or track, the start time.
end_time:
anyOf:
- type: number
- type: 'null'
title: End Time
description: If animation or track, the end time.
in_point:
anyOf:
- type: number
- type: 'null'
title: In Point
description: If animation or track, the in point.
out_point:
anyOf:
- type: number
- type: 'null'
title: Out Point
description: If animation or track, the out point.
effects:
anyOf:
- {}
- type: 'null'
title: Effects
description: Optional. Layer effects.
children:
anyOf:
- items: {}
type: array
- type: 'null'
title: Children
description: Optional. Layer children.
type: object
title: LayerInfo
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
Authorization:
in: header
name: Authorization
type: apiKey