fix: Frame images and API endpoint updates

- Added KlingAI 6@1 (KlingAI 2.5 Turbo Pro) to video models
- Fixed frame images to always use base64 data URIs (not UUIDs)
- Added convertTensor2IMGBase64Only function for consistent frame image handling
- Fixed videoInputsFrame to use correct 'inputImage' key
- Updated API endpoint from runware.dev to runware.ai
- Ensured both frameImages.py and videoInputsFrame.py use consistent format
This commit is contained in:
Sirshendu Ganguly
2025-11-17 21:07:50 -05:00
parent 8c4cbd5ee6
commit 2000fb5163
5 changed files with 22 additions and 3 deletions
+2 -2
View File
@@ -49,8 +49,8 @@ class RunwareVideoInputsFrameImages:
return (frameImages,)
def _createFrameEntry(self, image, frameLabel):
imageData = rwUtils.convertTensor2IMG(image)
entry = {"image": imageData}
imageData = rwUtils.convertTensor2IMGBase64Only(image)
entry = {"inputImage": imageData}
if isinstance(frameLabel, str) and frameLabel.strip() != "":
if frameLabel.strip().isdigit():