Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ packages/web/.playwright/

# Local dev log files (optional tail -f workflows)
.logs/
packages/web/.local/

# Orval generated API client (regenerated from OpenAPI spec)
packages/web/lib/api/generated/
Expand Down
6 changes: 6 additions & 0 deletions docs/agent/api-v1-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ Params: `q`, `context`, `media_type`, `sort`, `page`, `limit`.
| `/api/v1/tries` | POST | Current user's VTON result save |
| `/api/v1/post-magazines/[id]` | GET | Post magazine data |
| `/api/v1/post-magazines/generate` | POST | Trigger editorial generation for a post (admin only, proxy → Rust) |
| `/api/v1/content/assets/videos` | POST | Content Studio short-form scene video generation (admin only, xAI → Supabase Storage) |
| `/api/v1/content/assets/video-jobs` | GET/POST | List recent persisted xAI short-form video jobs by `packetId`; create an admin-only job and persist scene request IDs. |
| `/api/v1/content/assets/video-jobs/[jobId]` | GET | Load a persisted short-form video job for resume. |
| `/api/v1/content/assets/video-jobs/[jobId]/poll` | POST | Poll running xAI scenes once and persist completed Storage URLs or failures. |
| `/api/v1/content/assets/video-jobs/[jobId]/compose` | POST | Compose completed scene clips into one final 9:16 ffmpeg export, with optional voiceover/BGM URLs. |
| `/api/v1/content/assets/video-jobs/[jobId]/scenes/[sceneId]/retry` | POST | Restart one failed or expired xAI scene. |

## Solutions & spots

Expand Down
Loading
Loading