API ng video: libren AI pool na naghinwa ng video at imahe
Gumamit ng dalawang linya ng kahilingan upang i-convert ang teksto sa isang video: Isumite ang gawain → Poll status → Kunin ang video. Libre, walang graphics card, at magiliw sa developer.
Binuksan ng Agnes ang API (ang Base URL ay https: / /apihub.agnes-ai.com), na nagbibigay ng mga interface ng programming para sa mga libreng modelo ng video at larawan. Ang karaniwang paggamit ay: lumikha muna ng isang gawain sa POST, pagkatapos ay i-poll ang katayuan hanggang sa makumpleto, at sa wakas ay i-download ang isang pelikula mula sa ibinalik na video_url. Ang buong proseso ay sertipikado ng Bearer, at ang limitasyon sa bilis ay 16 na beses bawat minuto. Kung tumama ka sa 429, awtomatikong mag-exponentially backoff at subukang muli.
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/videos | Lumilikha ng video task (model, prompt, width/height, num_frames, frame_rate). |
| GET | /agnesapi | Kınapino sa video_id; ibinalik ang status, progress at video_url. |
| POST | /v1/images/generations | Gumagawa ng imahe laktad ng agnes-image-2.1-flash. |
| GET | /v1/models | Listahan ng text, image, video models na may id. |
API Features
Wala maskaring libre, walang GPU
Isang susi para text, imahe at video
Asynchron status tuwing 30 s (hanggang 15 minuto)
Prompt sa Tagalog at iba pa
Sukat, frames at tagal mapipili hanggang 720p
Limitadong 15 row/minuto at auto backoff
Quick Start Example
# Step 1 — create a video job
import requests, time
API_KEY = "your-api-key" # get it free at platform.agnes-ai.com
BASE = "https://apihub.agnes-ai.com"
headers = {"Authorization": f"Bearer {API_KEY}"}
resp = requests.post(f"{BASE}/v1/videos", headers=headers, json={
"model": "agnes-video-v2.0",
"prompt": "A white fox walking in a misty bamboo grove at dawn",
"width": 1152, "height": 768, # 16:9
"num_frames": 121, # ~5s @24fps
"frame_rate": 24,
})
resp.raise_for_status()
video_id = resp.json().get("video_id") or resp.json().get("task_id")
# Step 2 — poll the task until done
while True:
r = requests.get(f"{BASE}/agnesapi", headers=headers,
params={"video_id": video_id}).json()
if r["status"] == "completed":
print("Video URL:", r["video_url"]); break
if r["status"] == "failed":
raise RuntimeError(r.get("error", "generation failed"))
time.sleep(30)Ang API Agnes ay siya na para sa bawat developer na masobambahang libreng video. Tingnan ang /v1/models, magpadala sa /videos/-, mata posulis. Limitado ang évidence pero mabilis ka magsisimula.
Mga Kaugnay na Pahina
Kumuha ng Libreng Agnes AI API Key — 3-Minute Setup | Libreng AI Video Guide
Ganap na libre ang Agnes AI API keys: kumpletong hakbang sa pag-register, paggawa at pag-copy, tatlong configuration methods (Web UI / env var / API), at 401 troubleshooting.
Agnes Video Generator Self-Hosting Guide — Manual / Docker / npm / AI Agent | Libreng AI Video Guide
Patakbuhin ang libreng open-source AI video generator sa iyong sariling computer o server: start.sh manual deployment, one-command Docker, npm CLI, AI Agent — kumpletong commands at requirements.
FAQ — AI Video Generator Questions & Answers | Agnes Video
Isang koleksyon ng mga madalas itanong tungkol sa Agnes Video Generator: kung paano gamitin ang libreng modelo ng Video ng Agnes AI, kung talagang hindi mo kailangan ang isang high-performance na graphics card, aling mga Video mode ang sinusuportahan at ang maximum na tagal, kung paano makakuha ng API Key nang libre, libreng quota at mga paghihigpit sa paggamit, at Ang pagkakaiba sa pagitan ng mga bayad na tool ay dapat ipaliwanag nang sabay-sabay.
Simple Video Prompt Examples — Text-to-Video Prompts | Libreng AI Video
Mga halimbawa ng mga ready-made na Prompt na salita para sa simpleng image at video mode: 3 direktang maaaring kopyahin na Prompt, kabilang ang takipsilim sa tabi ng lawa, close-up ng pagkain, neon night scene, atbp., bawat isa ay may kasamang mga setting ng parameter at mga mungkahi sa pag-optimize ng kalidad ng imahe. Ang kopyahin at i-paste ay maaaring makabuo ng isang maikling video na may matatag na istilo, na maaaring magsimula sa loob ng sampung minuto para sa mga baguhan.
API Contract & Conventions
Endpoints, auth, and parameters here follow the Agnes AI Open API, with reference to mainstream API conventions.
- Agnes AI Open API — 视频 / 图片生成接口Agnes AI · apihub.agnes-ai.com (2026)
The request/response contracts of all endpoints (/v1/videos, status polling, etc.) follow the Agnes Open API docs.
- OpenAI API Reference — REST 接口规范OpenAI · OpenAI Docs (2025)
Conventions like Bearer auth and REST-style design reference industry standards such as the OpenAI API Reference.
- Artificial Intelligence Index Report 2025Stanford HAI · Stanford AI Index 2025 (2025)
Stanford AI Index 2025 documents the explosive growth of the AI API economy, validating API documentation standardization as critical industry infrastructure.
- The Economic Potential of Generative AI: The Next Powerhouse of Productivity and Growth?McKinsey & Company · McKinsey Global Institute (2023)
McKinsey's report estimates the economic value of API-driven AI services in enterprise integration, providing developers a business case for API-based integration.
Bakit mapagkakatiwalaan ito
Ang artikulong ito ay isinulat ng mga front-line na practitioner. Kapag isinulat, ang mga unang mapagkukunan tulad ng mga arXiv paper, mga teknikal na ulat ng tagagawa at Stanford AI Index ay na-cross-check, at hindi batay sa mga konklusyon mula sa mga subjective na impresyon.
SandGrid@lcy362
Author ng Agnes Video Generator · Full-stack Developer
Independent developer at may-akda ng open source AI Video generation tool na Agnes Video Generator. Ang proyekto ay batay sa ganap na libreng modelo ng video ng Agnes AI at open source ng MIT protocol. Nakatulong ito sa 1,000 creator na gumawa ng mga AI na video sa walang gastos. Matagal na akong binibigyang pansin ang engineering at pagpapasikat ng mga modelo ng pagbuo ng video, at ang nilalaman ng artikulo ay nagmula sa front-line practice at first-hand research.
Tingnan sa GitHubHuling na-update:2026-08-21
Handa Ka Nang Magsimulang Gumawa?
“Hayaan ang world-class na AI na pag-aari ng lahat.” — Bruce Yang. Ganap na libre, walang credit card o high-performance graphics card, gawin ang iyong unang AI video sa zero cost. Gustong gumamit ng libreng modelo ng video mula sa Agnes AI? Magsimula ka lang dito.
I-clone ang GitHub repo at i-launch sa loob ng 2 minuto