Valossa Uploads API
Chunked upload workflow for large video files
Chunked upload workflow for large video files
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/valossa-com:valossa-com-uploads-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: Valossa Core Uploads API
version: '1.0'
description: 'The Valossa Core API is a REST API for submitting video analysis jobs and retrieving
rich AI-generated metadata. It analyzes speech, audio, visual content, and faces to
produce time-coded detections covering objects, people, sounds, topics, emotions,
and more.
**Base URL:** `https://api-eu.valossa.com/core/1.0/`
All requests must use HTTPS. Responses are JSON.
**Authentication:** Pass your API key as the `api_key` field in the JSON body
(POST requests) or as the `api_key` query parameter (GET requests).
**Get an API key:** Sign up for a free Transcribe Pro Vision MAX trial at
https://valossa.com/transcribe-video-to-text-ai/ then retrieve your key from
Valossa Portal under My Account → Subscriptions and API Keys.'
contact:
name: Valossa Support
url: https://valossa.com/contact/
license:
name: Proprietary
url: https://valossa.com/terms/
x-logo:
url: https://valossa.com/wp-content/themes/valossa/img/valossa-logo.svg
servers:
- url: https://api-eu.valossa.com/core/1.0/
description: Valossa EU production API
tags:
- name: Uploads
description: Chunked upload workflow for large video files
paths:
/initialize_file_upload:
post:
operationId: initializeFileUpload
summary: Initialize a chunked video upload
description: Initializes upload and returns `upload_id` and required chunk size.
tags:
- Uploads
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- api_key
- file_size_bytes
properties:
api_key:
type: string
file_size_bytes:
type: integer
responses:
'200':
description: Upload initialized
content:
application/json:
schema:
$ref: '#/components/schemas/InitializeFileUploadResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
/send_file_chunk:
post:
operationId: sendFileChunk
summary: Send one upload chunk
description: Sends one chunk for an upload initialized by `initialize_file_upload`.
tags:
- Uploads
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- api_key
- upload_id
- chunk_index
- file_data
properties:
api_key:
type: string
upload_id:
type: string
format: uuid
chunk_index:
type: integer
file_data:
type: string
format: binary
responses:
'200':
description: Chunk accepted
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
/finalize_file_upload:
post:
operationId: finalizeFileUpload
summary: Finalize chunked upload
description: Finalizes upload and returns `uploaded_file_url` for `new_job`.
tags:
- Uploads
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- api_key
- upload_id
properties:
api_key:
type: string
upload_id:
type: string
format: uuid
responses:
'200':
description: Upload finalized
content:
application/json:
schema:
$ref: '#/components/schemas/FinalizeFileUploadResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
components:
schemas:
Occurrence:
type: object
properties:
id:
type: string
description: Occurrence ID (string)
ss:
type: number
description: Start second (relative to video start)
example: 12.34
se:
type: number
description: End second
example: 23.45
c_max:
type: number
description: Maximum confidence during this occurrence (visual.context and audio.context only)
example: 0.92
c:
type: number
description: Confidence for this occurrence (topic.iab.section only)
shs:
type: integer
description: Shot index where occurrence starts
she:
type: integer
description: Shot index where occurrence ends
InitializeFileUploadResponse:
type: object
properties:
upload_id:
type: string
format: uuid
file_chunk_size_bytes:
type: integer
ErrorResponse:
type: object
properties:
errors:
type: array
items:
type: object
properties:
message:
type: string
example: Invalid API key
FinalizeFileUploadResponse:
type: object
properties:
uploaded_file_url:
type: string
example: valossaupload://7c62bc7b-e143-4a81-aa83-a7eb0ec37077
job_info:
type: object
properties:
job_id:
type: string
format: uuid
request:
type: object
media_info:
type: object
properties:
technical:
type: object
properties:
duration_s:
type: number
example: 1234.56
fps:
type: number
example: 24
from_customer:
type: object
properties:
title:
type: string
detections:
type: object
description: 'Associative array keyed by detection ID (string). Each value is a detection
with at minimum `t` (type) and `label` fields.
'
additionalProperties:
$ref: '#/components/schemas/Detection'
detection_groupings:
type: object
properties:
by_detection_type:
type: object
description: Detection IDs grouped by detection type, sorted by relevance
additionalProperties:
type: array
items:
type: string
by_second:
type: array
description: Per-second index of detections present at each second of video, optionally including per-second confidence and type-specific attributes
items:
type: array
items:
type: object
properties:
d:
type: string
description: Detection ID
c:
type: number
description: Confidence at this second when the detection type exposes per-second confidence
o:
type: array
items:
type: string
description: Occurrence IDs active at this second
a:
type: object
description: 'Per-second attributes for supported detection types.
- `human.face`: `sen` (facial valence + ranked `emo` array) and `sz`
- `audio.voice_emotion`: `val` and `aro`
- `visual.color`: `rgb` array of `{v, f}` color items
'
segmentations:
type: object
description: Shot boundary detection data
Detection:
type: object
required:
- t
- label
properties:
t:
type: string
description: Detection type identifier (e.g. visual.context, human.face)
example: visual.context
label:
type: string
description: Human-readable label for the detected concept
example: sunglasses
cid:
type: string
description: Valossa Concept ID (present on visual.context and audio.context)
example: 02g28TYU3dMt
ext_refs:
type: object
description: References to external ontologies (Wikidata, GKG, IAB)
properties:
wikidata:
type: object
properties:
id:
type: string
example: Q111
gkg:
type: object
properties:
id:
type: string
example: /m/01yrx
iab:
type: object
properties:
id:
type: string
example: '226'
labels_hierarchy:
type: array
items:
type: string
categ:
type: object
description: Category tags for this detection (e.g. content_compliance, violence)
a:
type: object
description: 'Additional attributes, detection-type specific.
For human.face: gender, similar_to, quality, s_visible.
For audio.speech: sen (sentiment/valence).
Per-second attributes are documented separately in `detection_groupings.by_second`.
'
occs:
type: array
description: Time ranges where this detection appears in the video
items:
$ref: '#/components/schemas/Occurrence'
responses:
Unauthorized:
description: Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
errors:
- message: Invalid API key
BadRequest:
description: Malformed request or missing required fields
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
errors:
- message: 'Missing required field: media.video.url'