AI API Studio is a local Flask app for image generation, video generation, and upscale workflows across multiple providers. It combines prompt writing, reference-image management, project metadata, character/talent management, and asset browsing in one desktop-friendly workspace.
- New edit workspace with persistent edit sessions and segment-based generation
- Expanded image support with
GPT Image 2andGPT Image 2 Edit - Expanded video support with
Seedance 2.0,Wan 2.7,LTX,Kling 4K, andLuma - Live cost estimates across image, edit, video, and upscale workflows
- Model-aware video controls for safety, audio generation, Wan driving audio, reference videos, and multi-shot
- Improved gallery/history bootstrapping, reusable params, and persistent error handling
- New
edit_sessionsasset storage with ignore rules for generated session history
- Multi-provider image generation
- Reference-image workflows with archive reuse
- Non-destructive reference masking
- Gemini reference description tools
- Prompt reuse from previous generations
Image mode combines prompt writing, archived references, reference description, and project metadata in one workspace.
- Text-to-video
- Image-to-video
- Reference-to-video
- Video-to-video for supported Kling routes
- Model-aware video safety controls where supported
Video mode supports start images, reference images, model-aware controls, and generated video review in the main viewer.
- Image upscale
- Video upscale with SeedVR2
- Main-viewer driven upscale workflow
- Before/after compare for supported results
Upscale mode works from the asset currently loaded in the main viewer and supports before/after comparison for review.
- Top-bar metadata entry:
ClientProjectShotFilename
- Reusable dropdown suggestions from existing saved folders and metadata
- Saved into searchable metadata
- Used to build asset folder structure and filenames
- Elements asset library
- Favorites / categories
- New Talent workflow
- Gemini vision-assisted image analysis for talent metadata
- Non-destructive mask editing for archived references
- Reopen and refine masks before rerunning a generation
- Masked references remain linked for repeatable workflows
GeminiFalBytePlusfor Seedream 4.5
Klingdirect APIFalfor Kling, Seedance, Wan, LTX, and SeedVR2Luma
Current image families exposed in the app include:
Nano BananaNano Banana ProNano Banana 2GPT Image 2Seedream 4.5Seedream 5 Lite
Depending on provider, the app also supports provider-specific routes and variants behind those families.
Current video families exposed in the app include:
KlingSeedanceWan VideoLTX VideoLumaSeedVR2
These include multiple text, image, reference, video-to-video, and upscale-capable routes where supported by the provider.
In image and video workflows, you can use Gemini to generate detailed descriptive prompt text from loaded reference images.
The app:
- analyzes each loaded reference
- organizes results by filename
- appends the descriptions to the current prompt box instead of replacing your prompt
Generated assets are stored under:
- E:\Code\comfy_app\AI_API_Studio\Image_assets
Main folders include:
- E:\Code\comfy_app\AI_API_Studio\Image_assets\generations
- E:\Code\comfy_app\AI_API_Studio\Image_assets\videos
- E:\Code\comfy_app\AI_API_Studio\Image_assets\loved
- E:\Code\comfy_app\AI_API_Studio\Image_assets\reference_archive
- E:\Code\comfy_app\AI_API_Studio\Image_assets\reference_masks
- E:\Code\comfy_app\AI_API_Studio\Image_assets\reference_renders
- E:\Code\comfy_app\AI_API_Studio\Image_assets\edit_sessions
Assets save inside:
Client/Project/Shot
Filename format:
client_project_shot_filename.ext
If a field is uncategorized, the app uses uncategorized for the folder value.
Configure keys in the Settings page:
Google Gemini API KeyFal API KeyKling API TokenLuma API KeyBytePlus API Key
The app verifies and stores these from the UI.
Run:
cd "E:\Code\comfy_app\AI_API_Studio"
python nbs.pyOr double-click:
- E:\Code\comfy_app\AI_API_Studio\start.bat
Run:
cd "/path/to/AI_API_Studio"
python3 nbs.pyOr use:
- E:\Code\comfy_app\AI_API_Studio\start.sh
The app auto-installs missing Python packages on first launch:
flaskPillowrequestsfal-client
- Username:
admin - Password:
banana2024
Generatorfor Image, Video, and Upscale workflowsAssetsfor browsing history, references, loved assets, and videosWorkbenchReportsSettingsCredits
- Enter API keys in
Settings - Set
Client / Project / Shot / Filenamein the top bar - Choose
Image,Video, orUpscale - Add references or source media
- Generate or upscale
- Reuse prompts, refs, and settings from saved assets when needed
- Some providers may return lower delivered resolution than the requested preset
- The app now records actual delivered size in metadata where possible
- Safety controls are shown only for video models/providers that support them
- Install guide: E:\Code\comfy_app\AI_API_Studio\INSTALL.md
- Release notes: E:\Code\comfy_app\AI_API_Studio\RELEASE_v1.4.md



