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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user