Upload Files
Upload images, videos, and audio files for use with Infron models.
Supported Formats
Images
JPG, JPEG, PNG, WebP, GIF, BMP, TIFF
Videos
MP4, AVI, MOV, WMV, FLV, WebM, MKV, 3GP, OGV
Audio
MP3, WAV, OGG, AAC, FLAC, WebM, M4A, Opus
Note: For files larger than 50MB, we recommend using a URL input instead of uploading directly.
Note: A single account is permitted to upload up to 1,000 assets, if you require a higher limit, please contact support@inforn.ai.
1. Upload resources
model
True
string
-
Model id
file
True
file/string
-
Local file stream or remote resource URL (only http/https supported).
curl -X POST 'https://media.onerouter.pro/v1/upload/resources' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-F 'model=bytedance/seedance-2.0/virtual-portrait-reference-to-video' \
-F 'file=@/tmp/person-front.png;type=image/png'curl -X POST 'https://media.onerouter.pro/v1/upload/resources' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "bytedance/seedance-2.0/virtual-portrait-reference-to-video",
"file": "https://example.com/person-side.png"
}'Response
{
"code": 200,
"data": {
"id": 2,
"upstream_asset_uri": "asset://asset-20260606170356-s9vrz",
"upstream_status": "Processing",
"asset_type": "Image",
"description": "",
"upload_source": "remote_url",
"source_url": "https://storage.googleapis.com/infron_gcs/image%2Fplayground-inputs%2F15%2F20260606%2Fcde00456-aebc-453b-a1e3-8cafebe0a457.jpg",
"gcs_url": "https://storage.googleapis.com/infron_gcs/image%2Fmodel-assets%2Fseedance%2F13%2F20260606%2Fb97f550f-7309-41ba-b7a4-585bb43d97e9.jpg",
"file_name": "cde00456-aebc-453b-a1e3-8cafebe0a457.jpg",
"content_type": "image/jpeg",
"file_ext": ".jpg",
"file_size_bytes": 39383,
"sha256_hash": "e7d916a106671814609f2ecb3b57ae1afd048df21a8c7c131f4035918cef2cdc",
"status": "processing",
"last_polled_at": "2026-06-06T09:03:55.754111989Z",
"created_at": "2026-06-06T09:03:55.755Z",
"updated_at": "2026-06-06T09:03:55.755Z"
},
"message": "success"
}2. List resources
page
False
number
1
Page index
page_size
False
number
20
Number of items per page, maximum 100
Response
3. Check resource status
id
True
number
-
Resource id
Response
4. Delete resources
id
True
number
-
Resource id
Response
5. Referencing assets in model calls
The upstream_asset_uri returned from the upload or query operation can be used directly for video generation:
Retention
Uploaded files are stored for 7 days and then automatically deleted.
Last updated