Tags: crisng95/flowkit
Tags
v1.1.0 — Workflow schema support for Low Priority models
Highlights
- SDK now auto-detects Google Flow's two video response shapes:
- OLD (Lite/Fast/Ultra): operations[] + streamed CDN URL — unchanged
- NEW (Low Priority — veo_3_1_*_low_priority, *_ultra_relaxed):
workflows[] + media[] with primaryMediaId; the MP4 is returned
inline as base64 in video.encodedVideo
- _poll_workflows polls get_media until ftyp magic appears, decodes the
binary, and writes output/_workflow_videos/{media_id}.mp4. file:// URL
is stored on the scene so curl + ffmpeg work without a download step.
- scene.{prefix}_video_media_id always stores the real Flow media UUID,
so upscale works for both schemas.
- Default i2v / start_end_frame_2_video for PAYGATE_TIER_TWO switched to
veo_3_1_i2v_lite_low_priority — the TRUE 0-credit Low Priority that
works on every service tier including SERVICE_TIER_ADVANCED.
- /fk-create-project now mandates a final PUT /api/active-project step
so downstream skills target the new project.
- /fk-change-model documents the lite_low_priority preset, tier
compatibility caveats, and adds chain (start_end) coverage.
- /fk-doctor + README error tables learn PUBLIC_ERROR_UNUSUAL_ACTIVITY
with the clear-cookies + slow-resubmit playbook.
Backward compatibility
- Old operations schema path is preserved unchanged.
- existing_op recovery shortcut still works for OLD ops; skipped for
workflow UUIDs (forces fresh resubmit on retry — Low Priority is 0
credits so cost is acceptable).
Commits since v1.0.2:
- af66bde feat(sdk): support Low Priority workflow schema for video gen
- 961ed67 chore(models): default i2v to lite_low_priority for SERVICE_TIER_ADVANCED
- ace68f5 docs(fk-doctor): handle PUBLIC_ERROR_UNUSUAL_ACTIVITY (clear cookies + sign in)
- 1fb3aa5 docs(readme): document workflow schema + UNUSUAL_ACTIVITY recovery