Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replicate prediction <id> #2

Open
zeke opened this issue Nov 11, 2022 · 0 comments
Open

replicate prediction <id> #2

zeke opened this issue Nov 11, 2022 · 0 comments

Comments

@zeke
Copy link

zeke commented Nov 11, 2022

It'd be nice to have a command to get a prediction by ID.

I currently use a shell script function for this:

function get_prediction() {
  UUID=$1
  curl -s \
    -H "Authorization: Token $REPLICATE_API_TOKEN" \
    -H 'Content-Type: application/json' \
    "https://api.replicate.com/v1/predictions/$UUID" | jq
}

@jamiesteven is this something you'd be interested in supporting in this tool?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant