Skip to content

feat: add OpenRouter as opt-in backend (Monid/Higgsfield stay default) - #12

Open
senthil-connektcapital wants to merge 1 commit into
oso95:mainfrom
senthil-connektcapital:feat/openrouter-backend
Open

feat: add OpenRouter as opt-in backend (Monid/Higgsfield stay default)#12
senthil-connektcapital wants to merge 1 commit into
oso95:mainfrom
senthil-connektcapital:feat/openrouter-backend

Conversation

@senthil-connektcapital

Copy link
Copy Markdown

Summary

  • Adds OpenRouter as an explicit opt-in alternate biller for stills (openai/gpt-image-2) and the video chain (bytedance/seedance-2.0) — same Seedance model as Monid/Higgsfield.
  • Monid remains the default video backend; Higgsfield remains required for stills (default), NSFW/kling3_0, and credit fallback. OpenRouter is never silent-selected.
  • Step 0 capability check: OPENROUTER_API_KEY + public S3 frame bucket (SCROLL_WORLD_S3_*) + curl/jq/openssl/aws + Seedance supported_frame_images probe. Only when all pass is OpenRouter offered at Step 1.7 budget.
  • Documents pipeline §8 helpers (s3_frame_url, or_wait, gen_*_openrouter), measured costs (2026-08-02), and OpenRouter-specific gotchas.

Test plan

  • With only Monid + Higgsfield configured: skill still defaults to Monid; OpenRouter is not offered
  • With OPENROUTER_API_KEY + public S3 bucket set: Step 0 marks available; Step 1.7 offers OpenRouter as a third choice
  • Choosing OpenRouter runs pipeline §8 path (stills decode b64_json; dives/connectors use public HTTPS frame URLs)
  • Choosing Monid/Higgsfield unchanged from prior behavior
  • NSFW/kling3_0 still only on Higgsfield path; OpenRouter docs say to finish that clip on Higgsfield

Offer OpenRouter's Seedance + gpt-image-2 path when OPENROUTER_API_KEY,
a public S3 frame bucket, and the Seedance frame_images capability check
all pass — never silent-default over Monid. Documents Step 0 checks,
Step 1.7 budget choice, pipeline §8 helpers, and gotchas.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant