Documentation Index
Fetch the complete documentation index at: https://usenaive.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
CLI First
The Jobs System
All image/video generation operations and deep research go through a unified jobs system. The pattern is always:- Submit → get
job_id(202 response) - Poll → check status via
GET /v1/jobs/:id - Complete → job finishes, credits charged, result available
Job Statuses
| Status | Meaning |
|---|---|
queued | Submitted, waiting to start |
processing | Running (may include progress %) |
completed | Done — result available, credits charged |
failed | Error — no credits charged |
cancelled | Cancelled by user — no credits charged |
Listing Jobs
queued, processing, completed, failed, cancelled.
Getting Job Details
Cancelling a Job
queued or processing state.
Job Types
| Type | Created By |
|---|---|
image_generation | POST /v1/images/generate |
video_generation | POST /v1/video/generate |
deep_research | POST /v1/search/research (thorough/exhaustive) |
Convenience Aliases
Each primitive has its own status endpoint that filters to its job type:GET /v1/images/:jobId— same as/v1/jobs/:idbut validates it’s an image jobGET /v1/video/:jobId— same as/v1/jobs/:idbut validates it’s a video job