{"id":20217677,"url":"https://github.com/pforret/replicate-cli","last_synced_at":"2026-06-11T07:31:31.550Z","repository":{"id":65356845,"uuid":"589990779","full_name":"pforret/replicate-cli","owner":"pforret","description":"Bash CLI for use with Replicate.com API","archived":false,"fork":false,"pushed_at":"2023-01-18T21:17:09.000Z","size":403,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T11:34:24.778Z","etag":null,"topics":["ai","bashew","replicate"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pforret.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-17T12:18:46.000Z","updated_at":"2023-04-13T17:47:00.000Z","dependencies_parsed_at":"2023-02-10T18:00:43.063Z","dependency_job_id":null,"html_url":"https://github.com/pforret/replicate-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"pforret/bashew","purl":"pkg:github/pforret/replicate-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Freplicate-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Freplicate-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Freplicate-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Freplicate-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforret","download_url":"https://codeload.github.com/pforret/replicate-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Freplicate-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34188272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","bashew","replicate"],"created_at":"2024-11-14T06:35:05.590Z","updated_at":"2026-06-11T07:31:31.518Z","avatar_url":"https://github.com/pforret.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![bash_unit CI](https://github.com/pforret/replicate-cli/workflows/bash_unit%20CI/badge.svg)\n![Shellcheck CI](https://github.com/pforret/replicate-cli/workflows/Shellcheck%20CI/badge.svg)\n![GH Language](https://img.shields.io/github/languages/top/pforret/replicate-cli)\n![GH stars](https://img.shields.io/github/stars/pforret/replicate-cli)\n![GH tag](https://img.shields.io/github/v/tag/pforret/replicate-cli)\n![GH License](https://img.shields.io/github/license/pforret/replicate-cli)\n[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash\u0026style=flat)](https://www.basher.it/package/)\n\n# replicate-cli\n\nBash CLI for use with Replicate.com APIBash CLI for use with Replicate.com API\n\n## 🔥 Usage\n\n```\nProgram : replicate-cli  by peter@forret.com\nVersion : v0.0.2 (2023-01-17 16:23)\nPurpose : Bash CLI for use with Replicate.com API\nUsage   : replicate-cli [-h] [-q] [-v] [-f] [-l \u003clog_dir\u003e] [-t \u003ctmp_dir\u003e] [-C \u003cCOUNT\u003e] [-G \u003cGUIDANCE\u003e] [-H \u003cHEIGHT\u003e] [-M \u003cMODEL\u003e] [-N \u003cSTEPS\u003e] [-R \u003cSTRENGTH\u003e] [-S \u003cSCHEDULE\u003e] [-T \u003cREPLICATE_API_TOKEN\u003e] [-V \u003cVERSION\u003e] [-W \u003cWIDTH\u003e\n] [-X \u003cSEED\u003e] \u003caction\u003e \u003cprompt?\u003e \u003cnegative?\u003e\nFlags, options and parameters:\n    -h|--help        : [flag] show usage [default: off]\n    -q|--quiet       : [flag] no output [default: off]\n    -v|--verbose     : [flag] also show debug messages [default: off]\n    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]\n    -l|--log_dir \u003c?\u003e : [option] folder for log files   [default: /home/pforret/log/replicate-cli]\n    -t|--tmp_dir \u003c?\u003e : [option] folder for temp files  [default: .tmp]\n    -C|--COUNT \u003c?\u003e   : [option] Number of outputs  [default: 1]\n    -G|--GUIDANCE \u003c?\u003e: [option] Classifier-free guidance  [default: 7.5]\n    -H|--HEIGHT \u003c?\u003e  : [option] Image height  [default: 512]\n    -M|--MODEL \u003c?\u003e   : [option] Prediction model to use  [default: stability-ai/stable-diffusion]\n    -N|--STEPS \u003c?\u003e   : [option] Number of steps  [default: 50]\n    -R|--STRENGTH \u003c?\u003e: [option] Prompt strength (0-1)  [default: 0.8]\n    -S|--SCHEDULE \u003c?\u003e: [option] Scheduler  [default: DPMSolverMultistep]\n    -T|--REPLICATE_API_TOKEN \u003c?\u003e: [option] Replicate.com API token\n    -V|--VERSION \u003c?\u003e : [option] Prediction model version\n    -W|--WIDTH \u003c?\u003e   : [option] Image width  [default: 512]\n    -X|--SEED \u003c?\u003e    : [option] Force start seeding\n    \u003caction\u003e         : [choice] action to perform  [options: collections,models,predict,check,env,update]\n    \u003cprompt\u003e         : [parameter] prompt (optional)\n    \u003cnegative\u003e       : [parameter] negative prompt (optional)\n\n### TIPS \u0026 EXAMPLES\n* use replicate-cli predict to ...\n  replicate-cli predict\n* use replicate-cli collections to list all collections\n  replicate-cli collections\n* use replicate-cli models to list all models for a collection\n  replicate-cli models\n  replicate-cli models image-to-text\n  replicate-cli models super-resolution\n* use replicate-cli check to check if this script is ready to execute and what values the options/flags are\n  replicate-cli check\n* use replicate-cli env to generate an example .env file\n  replicate-cli env \u003e .env\n* use replicate-cli update to update to the latest version\n  replicate-cli update\n* \u003e\u003e\u003e bash script created with pforret/bashew\n```\n\n## ⚡️ Examples\n\n```bash\n\u003e replicate-cli collections\n✅  These are the collection names you can use for 'replicate-cli models [collection]'\ndiffusion-models     : https://replicate.com/collections/diffusion-models\nimage-restoration    : https://replicate.com/collections/image-restoration\nimage-to-text        : https://replicate.com/collections/image-to-text\nml-makeovers         : https://replicate.com/collections/ml-makeovers\nstyle-transfer       : https://replicate.com/collections/style-transfer\nsuper-resolution     : https://replicate.com/collections/super-resolution\ntext-to-image        : https://replicate.com/collections/text-to-image\n\n\u003e replicate-cli models super-resolution\n✅  These are the models you can use for 'replicate-cli -M [model] predict ...'\n⏳  Collection: super-resolution\ncjwbw/rudalle-sr                         : https://replicate.com/cjwbw/rudalle-sr\ncjwbw/swin2sr                            : https://replicate.com/cjwbw/swin2sr\ncodeslake/refvsr-cvpr2022                : https://replicate.com/codeslake/refvsr-cvpr2022\njingyunliang/hcflow-sr                   : https://replicate.com/jingyunliang/hcflow-sr\njingyunliang/swinir                      : https://replicate.com/jingyunliang/swinir\nlongguangwang/arbsr                      : https://replicate.com/longguangwang/arbsr\nnightmareai/latent-sr                    : https://replicate.com/nightmareai/latent-sr\nnightmareai/real-esrgan                  : https://replicate.com/nightmareai/real-esrgan\nraoumer/srrescgan                        : https://replicate.com/raoumer/srrescgan\nwzx0826/lbnet                            : https://replicate.com/wzx0826/lbnet\nxinntao/esrgan                           : https://replicate.com/xinntao/esrgan\nxpixelgroup/hat                          : https://replicate.com/xpixelgroup/hat\n```\n\n## 🚀 Installation\n\nwith [basher](https://github.com/basherpm/basher)\n\n\t$ basher install pforret/replicate-cli\n\nor with `git`\n\n\t$ git clone https://github.com/pforret/replicate-cli.git\n\t$ cd replicate-cli\n\n## 📝 Acknowledgements\n\n* Replicate API on [replicate.com/docs/reference/http](https://replicate.com/docs/reference/http)\n* script created with [bashew](https://github.com/pforret/bashew)\n\n\u0026copy; 2023 Peter Forret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Freplicate-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforret%2Freplicate-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Freplicate-cli/lists"}