{"uid":"cap_zZ_-V8V_-aXR6PTHCIh6X","slug":"replicate-get-model-0e284ee2","name":"Replicate Get Model","description":"Retrieve metadata for a public Replicate model: description, hardware, latest version, run count, and links.","url":"https://replicate.mpp.paywithlocus.com/replicate/get-model?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["model_owner","model_name"],"properties":{"model_name":{"type":"string","description":"Model name (e.g. 'flux-schnell')"},"model_owner":{"type":"string","description":"Model owner / namespace (e.g. 'black-forest-labs')"}},"additionalProperties":true},"responseSchema":null,"example":{"request":{"model_name":"flux-schnell","model_owner":"black-forest-labs"},"response":{"data":{"url":"https://replicate.com/black-forest-labs/flux-schnell","name":"flux-schnell","owner":"black-forest-labs","paper_url":null,"run_count":669216596,"created_at":"2024-07-30T00:32:11.473557Z","github_url":"https://github.com/replicate/cog-flux","visibility":"public","description":"The fastest image generation model tailored for local development and personal use","is_official":true,"license_url":"https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-schnell","weights_url":"https://huggingface.co/black-forest-labs/FLUX.1-schnell","latest_version":{"id":"c846a69991daf4c0e5d016514849d14ee5b2e6846ce6b9d6f21369e564cfe51e","created_at":"2025-06-25T20:02:06.203810Z","cog_version":"0.15.8","openapi_schema":{"info":{"title":"Cog","version":"0.1.0"},"paths":{},"openapi":"3.0.2","components":{"schemas":{"Input":{"type":"object","title":"Input","required":["prompt"],"properties":{"seed":{"type":"integer","title":"Seed","x-order":4,"description":"Random seed. Set for reproducible generation"},"prompt":{"type":"string","title":"Prompt","x-order":0,"description":"Prompt for generated image"},"go_fast":{"type":"boolean","title":"Go Fast","default":true,"x-order":8,"description":"Run faster predictions with model optimized for speed (currently fp8 quantized); disable to run in original bf16. Note that outputs will not be deterministic when this is enabled, even if you set a seed."},"megapixels":{"allOf":[{"$ref":"#/components/schemas/megapixels"}],"default":"1","x-order":9,"description":"Approximate number of megapixels for generated image"},"num_outputs":{"type":"integer","title":"Num Outputs","default":1,"maximum":4,"minimum":1,"x-order":2,"description":"Number of outputs to generate"},"aspect_ratio":{"allOf":[{"$ref":"#/components/schemas/aspect_ratio"}],"default":"1:1","x-order":1,"description":"Aspect ratio for the generated image"},"output_format":{"allOf":[{"$ref":"#/components/schemas/output_format"}],"default":"webp","x-order":5,"description":"Format of the output images"},"output_quality":{"type":"integer","title":"Output Quality","default":80,"maximum":100,"minimum":0,"x-order":6,"description":"Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs"},"num_inference_steps":{"type":"integer","title":"Num Inference Steps","default":4,"maximum":4,"minimum":1,"x-order":3,"description":"Number of denoising steps. 4 is recommended, and lower number of steps produce lower quality outputs, faster."},"disable_safety_checker":{"type":"boolean","title":"Disable Safety Checker","default":false,"x-order":7,"description":"Disable safety checker for generated images."}}},"Output":{"type":"array","items":{"type":"string","format":"uri"},"title":"Output"},"Status":{"enum":["starting","processing","succeeded","canceled","failed"],"type":"string","title":"Status","description":"An enumeration."},"megapixels":{"enum":["1","0.25"],"type":"string","title":"megapixels","description":"An enumeration."},"WebhookEvent":{"enum":["start","output","logs","completed"],"type":"string","title":"WebhookEvent","description":"An enumeration."},"aspect_ratio":{"enum":["1:1","16:9","21:9","3:2","2:3","4:5","5:4","3:4","4:3","9:16","9:21"],"type":"string","title":"aspect_ratio","description":"An enumeration."},"output_format":{"enum":["webp","jpg","png"],"type":"string","title":"output_format","description":"An enumeration."},"ValidationError":{"type":"object","title":"ValidationError","required":["loc","msg","type"],"properties":{"loc":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}}},"PredictionRequest":{"type":"object","title":"PredictionRequest","properties":{"id":{"type":"string","title":"Id","nullable":true},"input":{"$ref":"#/components/schemas/Input","nullable":true},"context":{"type":"object","title":"Context","nullable":true,"additionalProperties":{"type":"string"}},"webhook":{"type":"string","title":"Webhook","format":"uri","nullable":true,"maxLength":65536,"minLength":1},"created_at":{"type":"string","title":"Created At","format":"date-time","nullable":true},"output_file_prefix":{"type":"string","title":"Output File Prefix","nullable":true},"webhook_events_filter":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEvent"},"default":["start","output","logs","completed"],"nullable":true}}},"PredictionResponse":{"type":"object","title":"PredictionResponse","properties":{"id":{"type":"string","title":"Id","nullable":true},"logs":{"type":"string","title":"Logs","default":""},"error":{"type":"string","title":"Error","nullable":true},"input":{"$ref":"#/components/schemas/Input","nullable":true},"output":{"$ref":"#/components/schemas/Output"},"status":{"$ref":"#/components/schemas/Status","nullable":true},"metrics":{"type":"object","title":"Metrics","nullable":true,"additionalProperties":true},"version":{"type":"string","title":"Version","nullable":true},"created_at":{"type":"string","title":"Created At","format":"date-time","nullable":true},"started_at":{"type":"string","title":"Started At","format":"date-time","nullable":true},"completed_at":{"type":"string","title":"Completed At","format":"date-time","nullable":true}}},"HTTPValidationError":{"type":"object","title":"HTTPValidationError","properties":{"detail":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"},"title":"Detail"}}}}}}},"cover_image_url":"https://tjzk.replicate.delivery/models_models_featured_image/67c990ba-bb67-4355-822f-2bd8c42b2f0d/flux-schnell.webp","default_example":{"id":"jd96x0dyqsrm00cj1jp90zeye0","logs":"running quantized prediction\ngenerating\nUsing seed: 68235\n  0%|          | 0/4 [00:00<?, ?it/s]\n 50%|█████     | 2/4 [00:00<00:00, 18.61it/s]\n100%|██████████| 4/4 [00:00<00:00, 13.49it/s]\n100%|██████████| 4/4 [00:00<00:00, 14.07it/s]\nTotal safe images: 1 out of 1","urls":{"get":"https://api.replicate.com/v1/predictions/jd96x0dyqsrm00cj1jp90zeye0","cancel":"https://api.replicate.com/v1/predictions/jd96x0dyqsrm00cj1jp90zeye0/cancel"},"error":null,"input":{"prompt":"black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot","go_fast":true,"num_outputs":1,"aspect_ratio":"1:1","output_format":"webp","output_quality":80},"model":"black-forest-labs/flux-schnell","output":["https://replicate.delivery/yhqm/hcDDSNf633zeDUz9sWkKfaftcfJLWIvuhn9vfCFWmufxelmemA/out-0.webp"],"source":"web","status":"succeeded","metrics":{"total_time":0.840202,"image_count":1,"predict_time":0.829263399},"version":"hidden","created_at":"2024-09-19T23:45:00.606000Z","started_at":"2024-09-19T23:45:00.616939Z","completed_at":"2024-09-19T23:45:01.446202Z","data_removed":false,"is_free_trial_prediction":false}},"success":true}},"exampleRequest":{"model_name":"flux-schnell","model_owner":"black-forest-labs"},"tags":["ai-models","open-source","image-generation","inference","ai","media"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":2,"rating":{"score":"0.96","successRate":"1.00","reviews":2,"stars":"4.8","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"0.4000","medianCents":"0.4000","p90Cents":"0.4000","minCents":"0.4000","maxCents":"0.4000","p95Cents":"0.4000","sampleCount":1,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q1Xdc0aCQ9KZx400HFsXG","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Replicate","brandSlug":"replicate","brandBaseUrl":"https://replicate.com","brandDocsUrl":"https://replicate.com/docs/reference/http","whatItDoes":"Retrieves metadata and details about a specific AI model hosted on Replicate, including description, run count, versioning, and licensing information.","exampleAgentPrompt":"Can you pull up the details for the black-forest-labs/flux-schnell model on Replicate — I want to see its description, run count, and latest version info?","exampleUseCases":[{"title":"Compare AI model capabilities before deployment","prompt":"I'm deciding between a few image generation models on Replicate. Can you pull up the metadata for both the flux-schnell and stable-diffusion-v3 models so I can see their descriptions, run counts, and which one is more heavily used?"},{"title":"Verify model licensing for commercial use","prompt":"We're building a product that uses the openai/whisper model from Replicate. Before we ship, can you check what license that model is under and confirm whether it's official?"},{"title":"Track model version updates for automation","prompt":"Our app currently uses a specific version of the llama-2-70b model. Can you look up what the latest version ID is and let me know if there's a newer one available that we should migrate to?"}],"resultDescription":"Returns a JSON object with the model's full metadata including its name, owner, description, visibility (public/private), run count, creation date, latest version ID and cog version, GitHub URL, paper URL, weights URL, license URL, and whether it is an official model.","failureModes":["Model not found — returns 404 if model_owner or model_name is incorrect or the model does not exist","Missing required fields — returns 400 if model_owner or model_name is omitted","Private model access denied — returns 403 if the model is private and the caller lacks permissions","Network timeout — if Replicate's API is slow or unavailable"],"whenToPreferThis":"Use this endpoint when you need structured metadata about a specific Replicate-hosted model before running it, comparing models, displaying model info to users, or checking the latest version ID prior to making a prediction. Prefer this over List Models when you already know the exact owner and name of the model you care about.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-09-14T19:43:30.860Z","lastSuccessfullyRanAt":"2026-09-14T19:43:30.860Z","lastHealthCheckAt":"2026-10-12T12:35:24.071Z","isFirstParty":false,"canonicalSlug":"replicate-get-model-0e284ee2"}