Skip to content

replicate prediction <id> #2

@zeke

Description

@zeke

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions