import replicate deployment = replicate.deployments.get("jilll111/ai") prediction = deployment.predictions.create( input={"frame1": "..."} ) prediction.wait() print(prediction.output)