jhapijhapi Docs
User guideAPI referenceAI ApplicationsHelp
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:

  1. POST /v1/video/generations — create job, get task id
  2. GET /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

ModelResolutionsInput media
Berry1.0 / Berry1.0_Turbo480p, 720p, 1080pOptional (text or image)
Berry1.0_SD / Berry1.0_SD_Turbo720p, 1080p, 2K, 4KOptional
Berry1.0_HD / Berry1.0_HD_Turbo1080p, 2K, 4KOptional
Berry1.0_FHD / Berry1.0_FHD_Turbo2K, 4KOptional
Berry0.2_i2v_pro / Berry0.2_i2v_lora480p, 720pImage required
Berry0.7_i2v_pro720p, 1080pImage required
Blueberry1.1480p, 720p, 1080pOptional
W_animate480p, 720pCharacter image/video/audio
Flashvsr720p, 1080p, 2K, 4KInput video (upscale)

Extra snapshots from the console also follow GET /v1/models.

Common parameters

  • model: name from the table (no mtree/ prefix).
  • prompt: required except pure upscale paths.
  • resolution or size: must be allowed for that model (e.g. 720p, 2K).
  • seconds or duration: 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.