flux-lora-lab / get.py
alexx-ai's picture
Create get.py
ca3c1d5 verified
raw
history blame contribute delete
336 Bytes
import json
from tasks import get_video # Import the function from status.py
# Your identity_id and member_token values
identity_id = 'your_identity_id_here'
member_token = 'your_member_token_here'
response = get_video(identity_id, member_token)
formatted_response = {"video_url": response}
print(json.dumps(formatted_response))