new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI Asset Pipeline · all subjects

video-gen/api

6 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Video generation API base URL and authentication

The apimart.ai video API is located at https://api.apimart.ai/v1. Authentication uses the Authorization header with a Bearer token. The API key is shared with imagegen3 and stored at ~/.config/apimart/api_key, obtainable from https://apimart.ai/keys.

Video generation request parameters

POST /v1/videos/generations accepts: model (required, string), prompt (required, motion/scene description), duration (required, integer), resolution (required, string), aspect_ratio (required, string), image_urls (optional, array), official_fallback (optional, boolean, default false), enable_gif (optional, boolean, default false). The aspect_ratio parameter is ignored when image_urls is set; aspect comes from the image instead.

Aspect ratio options for video generation

Video generation accepts aspect_ratio as either 16:9 or landscape (equivalent) for landscape orientation, or 9:16 or portrait (equivalent) for portrait orientation. This parameter is ignored when image_urls is provided.

Image-to-video constraints

sora-2 accepts maximum 1 image URL for image-to-video generation. veo3.1 accepts maximum 3 image URLs. All images must be ≤10MB each and in .jpeg, .jpg, .png, or .webp format. Local file paths must be converted to base64 data URIs.

Video generation submit response format

Successful POST to /v1/videos/generations returns {"code":200,"data":[{"status":"submitted","task_id":"task_01K9…"}]}. The task_id is used for polling.

Poll task endpoint and response format

GET /v1/tasks/{task_id}?language=en returns task status and results. Response includes: id (task identifier), status (pending|processing|completed|failed|cancelled), progress (0-100), result object containing thumbnail_url and videos array, estimated_time (seconds), and actual_time (seconds). Video URL is accessed at data.result.videos[0].url[0]. Thumbnail is at data.result.thumbnail_url. All URLs are valid for 24 hours only.

Give your agent this brain