AI Model APIVideos
MioRouter video (OpenAI Video jobs)
MioRouter video models on jhapi.org — resolutions, inputs, and task flow.
Base URL: https://jhapi.org/v1. Auth: Authorization: Bearer <API key>.
Overview
MioRouter video models use OpenAI video generation jobs:
POST /v1/video/generations— create job, get task idGET /v1/video/generations/{id}— poll until complete, read video URL
See Create video generation and Get video generation status.
To map model ids to this protocol, see List models · MioRouter.
Built-in models
| Model | Resolutions | Input media |
|---|---|---|
Berry1.0 / Berry1.0_Turbo | 480p, 720p, 1080p | Optional (text or image) |
Berry1.0_SD / Berry1.0_SD_Turbo | 720p, 1080p, 2K, 4K | Optional |
Berry1.0_HD / Berry1.0_HD_Turbo | 1080p, 2K, 4K | Optional |
Berry1.0_FHD / Berry1.0_FHD_Turbo | 2K, 4K | Optional |
Berry0.2_i2v_pro / Berry0.2_i2v_lora | 480p, 720p | Image required |
Berry0.7_i2v_pro | 720p, 1080p | Image required |
Blueberry1.1 | 480p, 720p, 1080p | Optional |
W_animate | 480p, 720p | Character image/video/audio |
Flashvsr | 720p, 1080p, 2K, 4K | Input video (upscale) |
Extra snapshots from the console also follow GET /v1/models.
Common parameters
model: name from the table (nomtree/prefix).prompt: required except pure upscale paths.resolutionorsize: must be allowed for that model (e.g.720p,2K).secondsorduration: positive integer seconds.- References: URL fields (
image,video_url, …) or multipart uploads — see the Input media column.
stream is not supported.
Flow
Create
curl https://jhapi.org/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Berry1.0_SD_Turbo",
"prompt": "a cat walking in the rain",
"size": "720p",
"seconds": 5
}'Poll
Call GET /v1/video/generations/{id} until status is complete and url is present.
Billing
Billed as resolution tier × seconds. See console model pricing. Models like W_animate and Flashvsr fail at submit time if required media is missing.