Commit Graph
4 Commits
Author SHA1 Message Date
bowtiedbluefin 88fb7142c4 Fix OpenAI video API to use correct endpoint and multipart/form-data
BREAKING FIX: Corrected to match official OpenAI API documentation
- Changed endpoint to /v1/videos (was incorrectly /v1/videos/generations)
- Changed from JSON POST to multipart/form-data POST (OpenAI requirement)
- Fixed image-to-video parameter: 'image' (was incorrectly 'input_reference')
- Updated API client to use requests 'files' parameter for form fields
- Removed incorrect Content-Type header to allow proper boundary setting

Reference: https://platform.openai.com/docs/api-reference/videos/create
2025-11-08 02:12:21 -05:00
bowtiedbluefin 0708554221 Fix OpenAI video API endpoint and parameter format
- Changed endpoint from /videos/create to /videos/generations (correct OpenAI endpoint)
- Changed 'seconds' parameter from string '5s' to integer 5 (as per OpenAI spec)
- Updated documentation to reflect correct parameter types
2025-11-08 02:03:18 -05:00
bowtiedbluefin 9dd2d82195 Fix OpenAI video API compatibility and add video save node
- Fixed video generation parameters to match OpenAI's API format
  - Convert resolution + aspect_ratio to 'size' parameter (e.g., '1920x1080')
  - Convert duration to 'seconds' string format (e.g., '5s')
  - Filter out fps parameter for OpenAI (not supported)
  - Use 'input_reference' instead of 'image_url' for image-to-video
- Added SaveVideoNode to download and save videos locally
  - Supports timestamp placeholders in filenames
  - Auto-creates output directories
  - Shows file size after download
- Updated QUICKSTART guide with video generation examples
- Updated API client documentation with correct parameter formats
2025-11-08 01:55:01 -05:00
bowtiedbluefin fdb6595ccd Initial commit: ComfyUI AI CustomURL Extension
- Full OpenAI-compatible API integration for ComfyUI
- Support for Text, Image, Video, and Speech generation
- Works with OpenAI, Venice.ai, OpenRouter, Together.ai, Ollama, and any OpenAI-compatible API
- Modern comfy_api.latest node format
- 10 nodes: 4 basic + 4 advanced + 2 utility
- Complete documentation and examples
- Model discovery and caching system
- Server routes for API management
2025-11-07 23:55:04 -05:00