Muhammad Waqas commited on
Commit
d6f45c3
·
1 Parent(s): 7a4f06d

Added: Generate image to video

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -350,7 +350,7 @@ def v1_image_to_video():
350
  # Queue the prompt
351
  prompt_id = queue_prompt(workflow, token)
352
 
353
- return jsonify({'prompt_id': prompt_id, 'message': 'Prompt queued successfully', 'get_video_url': f'https://gosign-de-comfyui-api.hf.space/get_video/{prompt_id}'}), 202
354
 
355
  except Exception as e:
356
  return jsonify({'message': 'Unbale to connect to the server. Make sure the server is running', 'error': str(e)}), 500
 
350
  # Queue the prompt
351
  prompt_id = queue_prompt(workflow, token)
352
 
353
+ return jsonify({'prompt_id': prompt_id, 'message': 'Prompt queued successfully', 'get_video_url': f'https://gosign-de-comfyui-api.hf.space/v1/video_tasks/{prompt_id}'}), 202
354
 
355
  except Exception as e:
356
  return jsonify({'message': 'Unbale to connect to the server. Make sure the server is running', 'error': str(e)}), 500