More models

This commit is contained in:
Paul
2024-06-26 15:08:56 +00:00
parent b6388a8c65
commit cce2494e21
31 changed files with 8523 additions and 16 deletions
+567
View File
@@ -0,0 +1,567 @@
{
"url": "https://replicate.com/ai-forever/kandinsky-2.2",
"owner": "ai-forever",
"name": "kandinsky-2.2",
"description": "multilingual text2image latent diffusion model",
"visibility": "public",
"github_url": "https://github.com/chenxwh/Kandinsky-2/tree/v2.2",
"paper_url": null,
"license_url": "https://github.com/ai-forever/Kandinsky-2/blob/main/license",
"run_count": 9618035,
"cover_image_url": "https://replicate.delivery/pbxt/Lca3IEjcKoJBBVS6ajROkK37sDzPsmjYxIcFzxPZp65wZzTE/out-0.png",
"default_example": {
"id": "3tsx2ijbtsa47m4mwbifyiglxm",
"model": "ai-forever/kandinsky-2.2",
"version": "424befb1eae6af8363edb846ae98a11111a39740988baebd279d73fe3ecc92c2",
"status": "succeeded",
"input": {
"width": 1024,
"height": 1024,
"prompt": "A moss covered astronaut with a black background",
"num_outputs": 1,
"num_inference_steps": 75
},
"output": [
"https://replicate.delivery/pbxt/Lca3IEjcKoJBBVS6ajROkK37sDzPsmjYxIcFzxPZp65wZzTE/out-0.png"
],
"logs": "Using seed: 4697\n 0%| | 0/25 [00:00<?, ?it/s]\n 20%|██ | 5/25 [00:00<00:00, 40.13it/s]\n 40%|████ | 10/25 [00:00<00:00, 40.19it/s]\n 60%|██████ | 15/25 [00:00<00:00, 40.05it/s]\n 80%|████████ | 20/25 [00:00<00:00, 39.66it/s]\n100%|██████████| 25/25 [00:00<00:00, 39.93it/s]\n100%|██████████| 25/25 [00:00<00:00, 39.90it/s]\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature']\n 0%| | 0/25 [00:00<?, ?it/s]\n 16%|█▌ | 4/25 [00:00<00:00, 37.91it/s]\n 36%|███▌ | 9/25 [00:00<00:00, 39.60it/s]\n 56%|█████▌ | 14/25 [00:00<00:00, 39.87it/s]\n 76%|███████▌ | 19/25 [00:00<00:00, 40.26it/s]\n 96%|█████████▌| 24/25 [00:00<00:00, 40.42it/s]\n100%|██████████| 25/25 [00:00<00:00, 40.12it/s]\n 0%| | 0/75 [00:00<?, ?it/s]\n 1%|▏ | 1/75 [00:00<00:14, 5.06it/s]\n 4%|▍ | 3/75 [00:00<00:08, 8.75it/s]\n 7%|▋ | 5/75 [00:00<00:06, 10.26it/s]\n 9%|▉ | 7/75 [00:00<00:06, 11.00it/s]\n 12%|█▏ | 9/75 [00:00<00:05, 11.45it/s]\n 15%|█▍ | 11/75 [00:01<00:05, 11.72it/s]\n 17%|█▋ | 13/75 [00:01<00:05, 11.89it/s]\n 20%|██ | 15/75 [00:01<00:04, 12.01it/s]\n 23%|██▎ | 17/75 [00:01<00:04, 12.09it/s]\n 25%|██▌ | 19/75 [00:01<00:04, 12.12it/s]\n 28%|██▊ | 21/75 [00:01<00:04, 12.16it/s]\n 31%|███ | 23/75 [00:02<00:04, 12.19it/s]\n 33%|███▎ | 25/75 [00:02<00:04, 12.21it/s]\n 36%|███▌ | 27/75 [00:02<00:03, 12.20it/s]\n 39%|███▊ | 29/75 [00:02<00:03, 12.21it/s]\n 41%|████▏ | 31/75 [00:02<00:03, 12.12it/s]\n 44%|████▍ | 33/75 [00:02<00:03, 12.11it/s]\n 47%|████▋ | 35/75 [00:02<00:03, 12.04it/s]\n 49%|████▉ | 37/75 [00:03<00:03, 11.90it/s]\n 52%|█████▏ | 39/75 [00:03<00:03, 11.98it/s]\n 55%|█████▍ | 41/75 [00:03<00:02, 12.04it/s]\n 57%|█████▋ | 43/75 [00:03<00:02, 12.08it/s]\n 60%|██████ | 45/75 [00:03<00:02, 12.12it/s]\n 63%|██████▎ | 47/75 [00:03<00:02, 12.09it/s]\n 65%|██████▌ | 49/75 [00:04<00:02, 12.06it/s]\n 68%|██████▊ | 51/75 [00:04<00:01, 12.10it/s]\n 71%|███████ | 53/75 [00:04<00:01, 12.14it/s]\n 73%|███████▎ | 55/75 [00:04<00:01, 12.14it/s]\n 76%|███████▌ | 57/75 [00:04<00:01, 12.16it/s]\n 79%|███████▊ | 59/75 [00:04<00:01, 12.18it/s]\n 81%|████████▏ | 61/75 [00:05<00:01, 12.11it/s]\n 84%|████████▍ | 63/75 [00:05<00:00, 12.15it/s]\n 87%|████████▋ | 65/75 [00:05<00:00, 12.14it/s]\n 89%|████████▉ | 67/75 [00:05<00:00, 12.14it/s]\n 92%|█████████▏| 69/75 [00:05<00:00, 12.16it/s]\n 95%|█████████▍| 71/75 [00:05<00:00, 12.19it/s]\n 97%|█████████▋| 73/75 [00:06<00:00, 12.17it/s]\n100%|██████████| 75/75 [00:06<00:00, 12.18it/s]\n100%|██████████| 75/75 [00:06<00:00, 11.92it/s]",
"error": null,
"metrics": {
"predict_time": 9.029294,
"total_time": 8.996641
},
"created_at": "2023-07-12T22:22:51.044455Z",
"started_at": "2023-07-12T22:22:51.011802Z",
"completed_at": "2023-07-12T22:23:00.041096Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/3tsx2ijbtsa47m4mwbifyiglxm",
"cancel": "https://api.replicate.com/v1/predictions/3tsx2ijbtsa47m4mwbifyiglxm/cancel"
}
},
"latest_version": {
"id": "ad9d7879fbffa2874e1d909d1d37d9bc682889cc65b31f7bb00d2362619f194a",
"created_at": "2024-04-10T14:54:34.535852+00:00",
"cog_version": "0.9.4",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 7,
"description": "Random seed. Leave blank to randomize the seed"
},
"width": {
"allOf": [
{
"$ref": "#/components/schemas/width"
}
],
"default": 512,
"x-order": 2,
"description": "Width of output image. Lower the setting if hits memory limits."
},
"height": {
"allOf": [
{
"$ref": "#/components/schemas/height"
}
],
"default": 512,
"x-order": 3,
"description": "Height of output image. Lower the setting if hits memory limits."
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "A moss covered astronaut with a black background",
"x-order": 0,
"description": "Input prompt"
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 6,
"description": "Number of images to output."
},
"output_format": {
"allOf": [
{
"$ref": "#/components/schemas/output_format"
}
],
"default": "webp",
"x-order": 8,
"description": "Output image format"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"x-order": 1,
"description": "Specify things to not see in the output"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 75,
"maximum": 500,
"minimum": 1,
"x-order": 4,
"description": "Number of denoising steps"
},
"num_inference_steps_prior": {
"type": "integer",
"title": "Num Inference Steps Prior",
"default": 25,
"maximum": 500,
"minimum": 1,
"x-order": 5,
"description": "Number of denoising steps for priors"
}
}
},
"width": {
"enum": [
384,
512,
576,
640,
704,
768,
960,
1024,
1152,
1280,
1536,
1792,
2048
],
"type": "integer",
"title": "width",
"description": "An enumeration."
},
"Output": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"height": {
"enum": [
384,
512,
576,
640,
704,
768,
960,
1024,
1152,
1280,
1536,
1792,
2048
],
"type": "integer",
"title": "height",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"description": "An enumeration."
},
"output_format": {
"enum": [
"webp",
"jpeg",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/daanelson/cog-blip-2",
"paper_url": "https://arxiv.org/abs/2301.12597",
"license_url": null,
"run_count": 22261404,
"run_count": 22263134,
"cover_image_url": "https://replicate.delivery/pbxt/IJEPmgAlL2zNBNDoRRKFegTEcxnlRhoQxlNjPHSZEy0pSIKn/gg_bridge.jpeg",
"default_example": {
"id": "uhd4lhedtvdlbnm2cyhzx65zpe",
@@ -0,0 +1,563 @@
{
"url": "https://replicate.com/batouresearch/high-resolution-controlnet-tile",
"owner": "batouresearch",
"name": "high-resolution-controlnet-tile",
"description": "Fermat.app open-source implementation of an efficient ControlNet 1.1 tile for high-quality upscales. Increase the creativity to encourage hallucination.",
"visibility": "public",
"github_url": "https://github.com/BatouResearch/controlnet-tile-upscale",
"paper_url": null,
"license_url": null,
"run_count": 416151,
"cover_image_url": "https://replicate.delivery/pbxt/8Reu1zg6zAV6GShu5yiyP0ueFch9EddJPlVfIxyiMLWBlwJkA/out-0.png",
"default_example": {
"id": "jmbdgg3btnpkdebjf3xincdepa",
"model": "batouresearch/high-resolution-controlnet-tile",
"version": "4af11083a13ebb9bf97a88d7906ef21cf79d1f2e5fa9d87b70739ce6b8113d29",
"status": "succeeded",
"input": {
"hdr": 0.7,
"image": "https://replicate.delivery/pbxt/K2gjWl0c5hGCKrNBj2xyJpt7QhOpwNpYXfJ4pnJS56RoN1KK/4904b1be-61dc-4ef0-916b-2f33b2ca953a.webp",
"steps": 20,
"prompt": "UHD 4k vogue, a woman wearing a colorful organic hat",
"scheduler": "DDIM",
"creativity": 0.75,
"guess_mode": false,
"resolution": 2048,
"resemblance": 1,
"guidance_scale": 5,
"negative_prompt": "Teeth, tooth, open mouth, longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, mutant"
},
"output": [
"https://replicate.delivery/pbxt/8Reu1zg6zAV6GShu5yiyP0ueFch9EddJPlVfIxyiMLWBlwJkA/out-0.png"
],
"logs": "Using seed: 39461\n 0%| | 0/15 [00:00<?, ?it/s]\n 7%|▋ | 1/15 [00:01<00:21, 1.56s/it]\n 13%|█▎ | 2/15 [00:03<00:20, 1.56s/it]\n 20%|██ | 3/15 [00:04<00:18, 1.56s/it]\n 27%|██▋ | 4/15 [00:06<00:17, 1.56s/it]\n 33%|███▎ | 5/15 [00:07<00:15, 1.56s/it]\n 40%|████ | 6/15 [00:09<00:14, 1.56s/it]\n 47%|████▋ | 7/15 [00:10<00:12, 1.56s/it]\n 53%|█████▎ | 8/15 [00:12<00:10, 1.56s/it]\n 60%|██████ | 9/15 [00:14<00:09, 1.56s/it]\n 67%|██████▋ | 10/15 [00:15<00:07, 1.56s/it]\n 73%|███████▎ | 11/15 [00:17<00:06, 1.56s/it]\n 80%|████████ | 12/15 [00:18<00:04, 1.56s/it]\n 87%|████████▋ | 13/15 [00:20<00:03, 1.56s/it]\n 93%|█████████▎| 14/15 [00:21<00:01, 1.56s/it]\n100%|██████████| 15/15 [00:23<00:00, 1.56s/it]\n100%|██████████| 15/15 [00:23<00:00, 1.56s/it]",
"error": null,
"metrics": {
"predict_time": 30.574068,
"total_time": 112.930229
},
"created_at": "2023-12-22T18:15:12.477144Z",
"started_at": "2023-12-22T18:16:34.833305Z",
"completed_at": "2023-12-22T18:17:05.407373Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/jmbdgg3btnpkdebjf3xincdepa",
"cancel": "https://api.replicate.com/v1/predictions/jmbdgg3btnpkdebjf3xincdepa/cancel"
}
},
"latest_version": {
"id": "4af11083a13ebb9bf97a88d7906ef21cf79d1f2e5fa9d87b70739ce6b8113d29",
"created_at": "2023-12-22T18:11:38.655574+00:00",
"cog_version": "0.8.6",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"properties": {
"hdr": {
"type": "number",
"title": "Hdr",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "HDR improvement over the original image"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 9,
"description": "Seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 1,
"description": "Control image for scribble controlnet"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 20,
"x-order": 7,
"description": "Steps"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt for the model"
},
"scheduler": {
"allOf": [
{
"$ref": "#/components/schemas/scheduler"
}
],
"default": "DDIM",
"x-order": 6,
"description": "Choose a scheduler."
},
"creativity": {
"type": "number",
"title": "Creativity",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"x-order": 4,
"description": "Denoising strength. 1 means total destruction of the original image"
},
"guess_mode": {
"type": "boolean",
"title": "Guess Mode",
"default": false,
"x-order": 11,
"description": "In this mode, the ControlNet encoder will try best to recognize the content of the input image even if you remove all prompts. The `guidance_scale` between 3.0 and 5.0 is recommended."
},
"resolution": {
"allOf": [
{
"$ref": "#/components/schemas/resolution"
}
],
"default": 2048,
"x-order": 2,
"description": "Image resolution"
},
"resemblance": {
"type": "number",
"title": "Resemblance",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"x-order": 3,
"description": "Conditioning scale for controlnet"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7,
"maximum": 30,
"minimum": 0.1,
"x-order": 8,
"description": "Scale for classifier-free guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "teeth, tooth, open mouth, longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, mutant",
"x-order": 10,
"description": "Negative prompt"
}
}
},
"Output": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"scheduler": {
"enum": [
"DDIM",
"DPMSolverMultistep",
"K_EULER_ANCESTRAL",
"K_EULER"
],
"type": "string",
"title": "scheduler",
"description": "An enumeration."
},
"resolution": {
"enum": [
2048,
2560
],
"type": "integer",
"title": "resolution",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
@@ -0,0 +1,571 @@
{
"url": "https://replicate.com/batouresearch/magic-image-refiner",
"owner": "batouresearch",
"name": "magic-image-refiner",
"description": "A better alternative to SDXL refiners, providing a lot of quality and detail. Can also be used for inpainting or upscaling.",
"visibility": "public",
"github_url": "https://github.com/BatouResearch/magic-image-refiner",
"paper_url": null,
"license_url": null,
"run_count": 737101,
"cover_image_url": "https://replicate.delivery/pbxt/H3ZmqoAgsBonKFilPafiEsvYsc2FnjD8EW3vMt6KpkYfd0ISA/out-0.png",
"default_example": {
"id": "zyaw3gdbhd46blbbctgzsiiice",
"model": "batouresearch/magic-image-refiner",
"version": "3064c8a3a831c0048031669a4a3bf3a7fe454a4d995897fc33e66ec5506ea74a",
"status": "succeeded",
"input": {
"hdr": 0,
"image": "https://replicate.delivery/pbxt/KA9yP9n3ZX5A5mkoPz3gsPzKTH1NA7LqVkQRTg7Sov46lOfo/0_1.webp",
"steps": 20,
"prompt": "UHD 4k vogue, a woman resting in a magic pool, face above the surface of the water, red freckles",
"scheduler": "DDIM",
"creativity": 0.25,
"guess_mode": false,
"resolution": "original",
"resemblance": 0.75,
"guidance_scale": 7,
"negative_prompt": "teeth, tooth, open mouth, longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, mutant"
},
"output": [
"https://replicate.delivery/pbxt/H3ZmqoAgsBonKFilPafiEsvYsc2FnjD8EW3vMt6KpkYfd0ISA/out-0.png"
],
"logs": "Using seed: 17908\n 0%| | 0/5 [00:00<?, ?it/s]\n 20%|██ | 1/5 [00:00<00:01, 3.82it/s]\n 40%|████ | 2/5 [00:00<00:00, 3.81it/s]\n 60%|██████ | 3/5 [00:00<00:00, 3.81it/s]\n 80%|████████ | 4/5 [00:01<00:00, 3.81it/s]\n100%|██████████| 5/5 [00:01<00:00, 3.81it/s]\n100%|██████████| 5/5 [00:01<00:00, 3.81it/s]",
"error": null,
"metrics": {
"predict_time": 3.42507,
"total_time": 3.454188
},
"created_at": "2024-01-03T17:12:27.719471Z",
"started_at": "2024-01-03T17:12:27.748589Z",
"completed_at": "2024-01-03T17:12:31.173659Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/zyaw3gdbhd46blbbctgzsiiice",
"cancel": "https://api.replicate.com/v1/predictions/zyaw3gdbhd46blbbctgzsiiice/cancel"
}
},
"latest_version": {
"id": "507ddf6f977a7e30e46c0daefd30de7d563c72322f9e4cf7cbac52ef0f667b13",
"created_at": "2024-01-31T14:16:36.395622+00:00",
"cog_version": "0.8.6",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"properties": {
"hdr": {
"type": "number",
"title": "Hdr",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 6,
"description": "HDR improvement over the original image"
},
"mask": {
"type": "string",
"title": "Mask",
"format": "uri",
"x-order": 2,
"description": "When provided, refines some section of the image. Must be the same size as the image"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 10,
"description": "Seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 1,
"description": "Image to refine"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 20,
"x-order": 8,
"description": "Steps"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt for the model"
},
"scheduler": {
"allOf": [
{
"$ref": "#/components/schemas/scheduler"
}
],
"default": "DDIM",
"x-order": 7,
"description": "Choose a scheduler."
},
"creativity": {
"type": "number",
"title": "Creativity",
"default": 0.25,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "Denoising strength. 1 means total destruction of the original image"
},
"guess_mode": {
"type": "boolean",
"title": "Guess Mode",
"default": false,
"x-order": 12,
"description": "In this mode, the ControlNet encoder will try best to recognize the content of the input image even if you remove all prompts. The `guidance_scale` between 3.0 and 5.0 is recommended."
},
"resolution": {
"allOf": [
{
"$ref": "#/components/schemas/resolution"
}
],
"default": "original",
"x-order": 3,
"description": "Image resolution"
},
"resemblance": {
"type": "number",
"title": "Resemblance",
"default": 0.75,
"maximum": 1,
"minimum": 0,
"x-order": 4,
"description": "Conditioning scale for controlnet"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7,
"maximum": 30,
"minimum": 0.1,
"x-order": 9,
"description": "Scale for classifier-free guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "teeth, tooth, open mouth, longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, mutant",
"x-order": 11,
"description": "Negative prompt"
}
}
},
"Output": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"scheduler": {
"enum": [
"DDIM",
"DPMSolverMultistep",
"K_EULER_ANCESTRAL",
"K_EULER"
],
"type": "string",
"title": "scheduler",
"description": "An enumeration."
},
"resolution": {
"enum": [
"original",
"1024",
"2048"
],
"type": "string",
"title": "resolution",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
@@ -0,0 +1,611 @@
{
"url": "https://replicate.com/batouresearch/magic-style-transfer",
"owner": "batouresearch",
"name": "magic-style-transfer",
"description": "Restyle an image with the style of another one. I strongly suggest to upscale the results with Clarity AI",
"visibility": "public",
"github_url": "https://github.com/BatouResearch/Cog-Face-to-Anything/tree/magic-style-transfer",
"paper_url": null,
"license_url": null,
"run_count": 3724,
"cover_image_url": "https://replicate.delivery/pbxt/CgdTGuA9wdoWGhVUMgpPIv9mh4rpLnYYViUmeLKV8wF2QGRJA/out-0.png",
"default_example": {
"id": "imodeq3bqxpre5bebcdqoi75l4",
"model": "batouresearch/magic-style-transfer",
"version": "3b5fa5d360c361090f11164292e45cc5d14cea8d089591d47c580cac9ec1c7ca",
"status": "succeeded",
"input": {
"image": "https://replicate.delivery/pbxt/KbUKCMMihGkSc5MXYYYkjEI6hlf1GNmGgwugu6JfSQATqiCN/3d.jpeg",
"prompt": "modern interior living room",
"ip_image": "https://replicate.delivery/pbxt/KbUKD3uoQjyTzdWbeAqYrypl0RWVJc0gI5UHHa3yYWNaqIoc/DALL%C2%B7E%202024-03-20%2017.57.33%20-%20Create%20a%20professional%20photograph%20of%20a%20modern%20interior%20design.%20This%20image%20should%20capture%20a%20living%20room%20space%20that%20combines%20contemporary%20elegance%20with%20c.webp",
"ip_scale": 1,
"strength": 1,
"scheduler": "K_EULER",
"lora_scale": 0.9,
"num_outputs": 1,
"guidance_scale": 4,
"resizing_scale": 1,
"apply_watermark": true,
"negative_prompt": "",
"background_color": "#A2A2A2",
"num_inference_steps": 30,
"condition_canny_scale": 0.5,
"condition_depth_scale": 0.5
},
"output": [
"https://replicate.delivery/pbxt/CgdTGuA9wdoWGhVUMgpPIv9mh4rpLnYYViUmeLKV8wF2QGRJA/out-0.png"
],
"logs": "Using seed: 28214\nPrompt: modern interior living room\nOriginal width:1024, height:1024\nAspect Ratio: 1.00\nnew_width:1024, new_height:1024\nYou have 2 ControlNets and you have passed 1 prompts. The conditionings will be fixed across the prompts.\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:13, 2.17it/s]\n 7%|▋ | 2/30 [00:00<00:10, 2.69it/s]\n 10%|█ | 3/30 [00:01<00:10, 2.59it/s]\n 13%|█▎ | 4/30 [00:01<00:10, 2.55it/s]\n 17%|█▋ | 5/30 [00:01<00:09, 2.52it/s]\n 20%|██ | 6/30 [00:02<00:09, 2.51it/s]\n 23%|██▎ | 7/30 [00:02<00:09, 2.50it/s]\n 27%|██▋ | 8/30 [00:03<00:08, 2.49it/s]\n 30%|███ | 9/30 [00:03<00:08, 2.49it/s]\n 33%|███▎ | 10/30 [00:03<00:08, 2.49it/s]\n 37%|███▋ | 11/30 [00:04<00:07, 2.49it/s]\n 40%|████ | 12/30 [00:04<00:07, 2.49it/s]\n 43%|████▎ | 13/30 [00:05<00:06, 2.49it/s]\n 47%|████▋ | 14/30 [00:05<00:06, 2.49it/s]\n 50%|█████ | 15/30 [00:05<00:06, 2.49it/s]\n 53%|█████▎ | 16/30 [00:06<00:05, 2.49it/s]\n 57%|█████▋ | 17/30 [00:06<00:05, 2.48it/s]\n 60%|██████ | 18/30 [00:07<00:04, 2.48it/s]\n 63%|██████▎ | 19/30 [00:07<00:04, 2.48it/s]\n 67%|██████▋ | 20/30 [00:08<00:04, 2.49it/s]\n 70%|███████ | 21/30 [00:08<00:03, 2.48it/s]\n 73%|███████▎ | 22/30 [00:08<00:03, 2.49it/s]\n 77%|███████▋ | 23/30 [00:09<00:02, 2.49it/s]\n 80%|████████ | 24/30 [00:09<00:02, 2.49it/s]\n 83%|████████▎ | 25/30 [00:10<00:02, 2.49it/s]\n 87%|████████▋ | 26/30 [00:10<00:01, 2.49it/s]\n 90%|█████████ | 27/30 [00:10<00:01, 2.49it/s]\n 93%|█████████▎| 28/30 [00:11<00:00, 2.49it/s]\n 97%|█████████▋| 29/30 [00:11<00:00, 2.49it/s]\n100%|██████████| 30/30 [00:12<00:00, 2.49it/s]\n100%|██████████| 30/30 [00:12<00:00, 2.49it/s]",
"error": null,
"metrics": {
"predict_time": 14.568553,
"total_time": 168.721412
},
"created_at": "2024-03-20T16:58:43.897037Z",
"started_at": "2024-03-20T17:01:18.049896Z",
"completed_at": "2024-03-20T17:01:32.618449Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/imodeq3bqxpre5bebcdqoi75l4",
"cancel": "https://api.replicate.com/v1/predictions/imodeq3bqxpre5bebcdqoi75l4/cancel"
}
},
"latest_version": {
"id": "3b5fa5d360c361090f11164292e45cc5d14cea8d089591d47c580cac9ec1c7ca",
"created_at": "2024-03-20T16:29:29.505365+00:00",
"cog_version": "0.9.5",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 15,
"description": "Random seed. Leave blank to randomize the seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 1,
"description": "Input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "An astronaut riding a rainbow unicorn",
"x-order": 0,
"description": "Input prompt"
},
"ip_image": {
"type": "string",
"title": "Ip Image",
"format": "uri",
"x-order": 2,
"description": "Input image for img2img or inpaint mode"
},
"ip_scale": {
"type": "number",
"title": "Ip Scale",
"default": 0.3,
"maximum": 1,
"minimum": 0,
"x-order": 6,
"description": "IP Adapter strength."
},
"strength": {
"type": "number",
"title": "Strength",
"default": 0.9,
"maximum": 1,
"minimum": 0,
"x-order": 7,
"description": "When img2img is active, the denoising strength. 1 means total destruction of the input image."
},
"scheduler": {
"allOf": [
{
"$ref": "#/components/schemas/scheduler"
}
],
"default": "K_EULER",
"x-order": 13,
"description": "scheduler"
},
"lora_scale": {
"type": "number",
"title": "Lora Scale",
"default": 0.9,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "LoRA additive scale. Only applicable on trained models."
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 12,
"description": "Number of images to output"
},
"lora_weights": {
"type": "string",
"title": "Lora Weights",
"x-order": 17,
"description": "Replicate LoRA weights to use. Leave blank to use the default weights."
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 4,
"maximum": 50,
"minimum": 1,
"x-order": 14,
"description": "Scale for classifier-free guidance"
},
"resizing_scale": {
"type": "number",
"title": "Resizing Scale",
"default": 1,
"maximum": 10,
"minimum": 1,
"x-order": 10,
"description": "If you want the image to have a solid margin. Scale of the solid margin. 1.0 means no resizing."
},
"apply_watermark": {
"type": "boolean",
"title": "Apply Watermark",
"default": true,
"x-order": 16,
"description": "Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 8,
"description": "Input Negative Prompt"
},
"background_color": {
"type": "string",
"title": "Background Color",
"default": "#A2A2A2",
"x-order": 9,
"description": "When passing an image with alpha channel, it will be replaced with this color"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 30,
"maximum": 500,
"minimum": 1,
"x-order": 11,
"description": "Number of denoising steps"
},
"condition_canny_scale": {
"type": "number",
"title": "Condition Canny Scale",
"default": 0.15,
"maximum": 2,
"minimum": 0,
"x-order": 4,
"description": "The bigger this number is, the more ControlNet interferes"
},
"condition_depth_scale": {
"type": "number",
"title": "Condition Depth Scale",
"default": 0.35,
"maximum": 2,
"minimum": 0,
"x-order": 3,
"description": "The bigger this number is, the more ControlNet interferes"
}
}
},
"Output": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"scheduler": {
"enum": [
"DDIM",
"DPMSolverMultistep",
"HeunDiscrete",
"KarrasDPM",
"K_EULER_ANCESTRAL",
"K_EULER",
"PNDM"
],
"type": "string",
"title": "scheduler",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/lucataco/cog-sdxl-lightning-4step",
"paper_url": "https://huggingface.co/ByteDance/SDXL-Lightning/resolve/main/sdxl_lightning_report.pdf",
"license_url": "https://huggingface.co/ByteDance/SDXL-Lightning/blob/main/LICENSE.md",
"run_count": 148013018,
"run_count": 148311685,
"cover_image_url": "https://replicate.delivery/pbxt/dYdYGKKt04pHJ1kle3eStm3q4mfPiUFlQ5xGeM3mfboYbMPUC/out-0.png",
"default_example": {
"id": "o22jrhbbmu5iuikbyayzbae7ve",
+613
View File
@@ -0,0 +1,613 @@
{
"url": "https://replicate.com/cjwbw/supir",
"owner": "cjwbw",
"name": "supir",
"description": "Practicing Model Scaling for Photo-Realistic Image Restoration In the Wild. This version uses LLaVA-13b for captioning.",
"visibility": "public",
"github_url": "https://github.com/chenxwh/SUPIR",
"paper_url": "https://github.com/chenxwh/SUPIR/tree/master",
"license_url": "https://github.com/Fanghua-Yu/SUPIR/blob/master/LICENSE",
"run_count": 103856,
"cover_image_url": "https://replicate.delivery/pbxt/tsZTAUpHvDorAJcaZDd1BpYsBcijNfwhXfDUCAIvrqTsdnZSA/out.png",
"default_example": {
"id": "o4b2mqtbpcxyuo52addzll2g6i",
"model": "cjwbw/supir",
"version": "1302b550b4f7681da87ed0e405016d443fe1fafd64dabce6673401855a5039b5",
"status": "succeeded",
"input": {
"image": "https://replicate.delivery/pbxt/KSFJ6sJWyEiPWysywNsAr2enzigJA3NZpG4YMrxrSFEIEShi/05.png",
"s_cfg": 7.5,
"s_churn": 5,
"s_noise": 1.003,
"upscale": 1,
"a_prompt": "Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
"min_size": 1024,
"n_prompt": "painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
"s_stage1": -1,
"s_stage2": 1,
"edm_steps": 50,
"use_llava": true,
"linear_CFG": false,
"model_name": "SUPIR-v0Q",
"color_fix_type": "Wavelet",
"spt_linear_CFG": 1,
"linear_s_stage2": false,
"spt_linear_s_stage2": 0
},
"output": "https://replicate.delivery/pbxt/tsZTAUpHvDorAJcaZDd1BpYsBcijNfwhXfDUCAIvrqTsdnZSA/out.png",
"logs": "Using seed: 12774\nCaptions from LLaVA: ['The image features a beautiful bird perched on a thin, dry branch in a field. The bird is colorful and stands out against the brown background of the field. The branch is located in the middle of the scene, with the bird sitting on it, drawing attention to itself. The field is filled with a variety of flowers, adding a vibrant touch to the scene. The overall style of the image is artistic, with a focus on the bird and its natural surroundings.']\nSeed set to 12774",
"error": null,
"metrics": {
"predict_time": 18.567178,
"total_time": 859.898094
},
"created_at": "2024-02-23T16:04:32.875679Z",
"started_at": "2024-02-23T16:18:34.206595Z",
"completed_at": "2024-02-23T16:18:52.773773Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/o4b2mqtbpcxyuo52addzll2g6i",
"cancel": "https://api.replicate.com/v1/predictions/o4b2mqtbpcxyuo52addzll2g6i/cancel"
}
},
"latest_version": {
"id": "1302b550b4f7681da87ed0e405016d443fe1fafd64dabce6673401855a5039b5",
"created_at": "2024-02-23T16:02:47.711057+00:00",
"cog_version": "0.9.4",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 18,
"description": "Random seed. Leave blank to randomize the seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 1,
"description": "Low quality input image."
},
"s_cfg": {
"type": "number",
"title": "S Cfg",
"default": 7.5,
"maximum": 20,
"minimum": 1,
"x-order": 12,
"description": " Classifier-free guidance scale for prompts."
},
"s_churn": {
"type": "number",
"title": "S Churn",
"default": 5,
"x-order": 10,
"description": "Original churn hy-param of EDM."
},
"s_noise": {
"type": "number",
"title": "S Noise",
"default": 1.003,
"x-order": 11,
"description": "Original noise hy-param of EDM."
},
"upscale": {
"type": "integer",
"title": "Upscale",
"default": 1,
"x-order": 2,
"description": "Upsampling ratio of given inputs."
},
"a_prompt": {
"type": "string",
"title": "A Prompt",
"default": "Cinematic, High Contrast, highly detailed, taken using a Canon EOS R camera, hyper detailed photo - realistic maximum detail, 32k, Color Grading, ultra HD, extreme meticulous detailing, skin pore detailing, hyper sharpness, perfect without deformations.",
"x-order": 6,
"description": "Additive positive prompt for the inputs."
},
"min_size": {
"type": "number",
"title": "Min Size",
"default": 1024,
"x-order": 3,
"description": "Minimum resolution of output images."
},
"n_prompt": {
"type": "string",
"title": "N Prompt",
"default": "painting, oil painting, illustration, drawing, art, sketch, oil painting, cartoon, CG Style, 3D render, unreal engine, blurring, dirty, messy, worst quality, low quality, frames, watermark, signature, jpeg artifacts, deformed, lowres, over-smooth",
"x-order": 7,
"description": "Negative prompt for the inputs."
},
"s_stage1": {
"type": "integer",
"title": "S Stage1",
"default": -1,
"x-order": 9,
"description": "Control Strength of Stage1 (negative means invalid)."
},
"s_stage2": {
"type": "number",
"title": "S Stage2",
"default": 1,
"x-order": 13,
"description": "Control Strength of Stage2."
},
"edm_steps": {
"type": "integer",
"title": "Edm Steps",
"default": 50,
"maximum": 500,
"minimum": 1,
"x-order": 4,
"description": "Number of steps for EDM Sampling Schedule."
},
"use_llava": {
"type": "boolean",
"title": "Use Llava",
"default": true,
"x-order": 5,
"description": "Use LLaVA model to get captions."
},
"linear_CFG": {
"type": "boolean",
"title": "Linear Cfg",
"default": false,
"x-order": 14,
"description": "Linearly (with sigma) increase CFG from 'spt_linear_CFG' to s_cfg."
},
"model_name": {
"allOf": [
{
"$ref": "#/components/schemas/model_name"
}
],
"default": "SUPIR-v0Q",
"x-order": 0,
"description": "Choose a model. SUPIR-v0Q is the default training settings with paper. SUPIR-v0F is high generalization and high image quality in most cases. Training with light degradation settings. Stage1 encoder of SUPIR-v0F remains more details when facing light degradations."
},
"color_fix_type": {
"allOf": [
{
"$ref": "#/components/schemas/color_fix_type"
}
],
"default": "Wavelet",
"x-order": 8,
"description": "Color Fixing Type.."
},
"spt_linear_CFG": {
"type": "number",
"title": "Spt Linear Cfg",
"default": 1,
"x-order": 16,
"description": "Start point of linearly increasing CFG."
},
"linear_s_stage2": {
"type": "boolean",
"title": "Linear S Stage2",
"default": false,
"x-order": 15,
"description": "Linearly (with sigma) increase s_stage2 from 'spt_linear_s_stage2' to s_stage2."
},
"spt_linear_s_stage2": {
"type": "number",
"title": "Spt Linear S Stage2",
"default": 0,
"x-order": 17,
"description": "Start point of linearly increasing s_stage2."
}
}
},
"Output": {
"type": "string",
"title": "Output",
"format": "uri"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"model_name": {
"enum": [
"SUPIR-v0Q",
"SUPIR-v0F"
],
"type": "string",
"title": "model_name",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"description": "An enumeration."
},
"color_fix_type": {
"enum": [
"None",
"AdaIn",
"Wavelet"
],
"type": "string",
"title": "color_fix_type",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+449
View File
@@ -0,0 +1,449 @@
{
"url": "https://replicate.com/cuuupid/glm-4v-9b",
"owner": "cuuupid",
"name": "glm-4v-9b",
"description": "GLM-4V is a multimodal model released by Tsinghua University that is competitive with GPT-4o and establishes a new SOTA on several benchmarks, including OCR.",
"visibility": "public",
"github_url": "https://github.com/THUDM/GLM-4",
"paper_url": null,
"license_url": "https://huggingface.co/THUDM/glm-4-9b/blob/main/LICENSE",
"run_count": 2828,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/24f30b2f-9daa-4b61-98d8-528324c1019c/replicate-prediction-apk97rpxg9rh.png",
"default_example": {
"id": "pep5rrz4nnrgm0cg12p9q32948",
"model": "cuuupid/glm-4v-9b",
"version": "a75c919339f65bf00afa96511af653fdbd0ec3cb0f5e6f4350809445eee0e14f",
"status": "succeeded",
"input": {
"image": "https://replicate.delivery/pbxt/L4yniMG0Ngbuzm6Q6Go37SdEq6qbR284ktnGNiNjs818EDOJ/image.png",
"prompt": "Please identify the text in the picture."
},
"output": "The text in the picture reads:\n\nUnesco announces its newest geoparks around the world\n\n9 April 2024\n\nBy Lynn Brown, Features correspondent\n\nShare\n\nChris Karageitis\n\nUnesco Geoparks represent a balance of unique geological features, cultural touchpoints and a focus on sustainability\n\n(Credit: Chris Karageitis)\n\nFrom dinosaur fossils in Brazil to the soaring monasteries of Meteora, these 18 new geological sites highlight a particular region's natural, cultural and intangible heritage.\n\nTravellers interested in deep dives into geology, culture and sustainability have several new destinations to place on their bucket lists. Unesco just announced the designation of 18 new Global Geoparks, bringing the total to 213 sites representing 48 countries around the world.\n\nFrom crystal-clear karst lakes to an archipelago formed during the last ice age, these parks are more than just sites with unique geological features; they also serve to highlight a particular region's natural, cultural and intangible heritage. \"Unesco Global Geoparks represent landscapes where internationally significant geological heritage intertwines with human history and supports rich biodiversity,\" explains Antonio Abreu, director of the Division of Ecological and Earth Sciences at Unesco. \"Each new geopark tells a unique story, using geology as its lens.\"\n\nHere are five of the newest geoparks on Unesco's list: <|endoftext|>",
"logs": null,
"error": null,
"metrics": {
"predict_time": 9.462071,
"total_time": 9.509579
},
"created_at": "2024-06-11T19:01:06.861000Z",
"started_at": "2024-06-11T19:01:06.908508Z",
"completed_at": "2024-06-11T19:01:16.370579Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/pep5rrz4nnrgm0cg12p9q32948",
"cancel": "https://api.replicate.com/v1/predictions/pep5rrz4nnrgm0cg12p9q32948/cancel"
}
},
"latest_version": {
"id": "a75c919339f65bf00afa96511af653fdbd0ec3cb0f5e6f4350809445eee0e14f",
"created_at": "2024-06-11T18:23:49.034977+00:00",
"cog_version": "v0.9.5+dev",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"required": [
"image",
"prompt"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Image input"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Propmt"
}
}
},
"Output": {
"type": "string",
"title": "Output"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+522
View File
@@ -0,0 +1,522 @@
{
"url": "https://replicate.com/cuuupid/idm-vton",
"owner": "cuuupid",
"name": "idm-vton",
"description": "Best-in-class clothing virtual try on in the wild (non-commercial use only)",
"visibility": "public",
"github_url": "https://github.com/yisol/IDM-VTON",
"paper_url": "https://arxiv.org/abs/2403.05139",
"license_url": "https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en",
"run_count": 199318,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/e6753f2f-78a9-43af-8a2e-ef379d9d5f51/replicate-prediction-qh5eq80v2hrg.png",
"default_example": {
"id": "chz7vk2mt5rgg0cenfqaj2war8",
"model": "cuuupid/idm-vton",
"version": "e3893af4fb4bd5741752b35b395348c5f7a9ab5c4776264f5d38e41418081ed7",
"status": "succeeded",
"input": {
"seed": 42,
"steps": 30,
"garm_img": "https://replicate.delivery/pbxt/KgwTlZyFx5aUU3gc5gMiKuD5nNPTgliMlLUWx160G4z99YjO/sweater.webp",
"human_img": "https://replicate.delivery/pbxt/KgwTlhCMvDagRrcVzZJbuozNJ8esPqiNAIJS3eMgHrYuHmW4/KakaoTalk_Photo_2024-04-04-21-44-45.png",
"garment_des": "cute pink top"
},
"output": "https://replicate.delivery/pbxt/Tfs5JETdzlURKyKeUOltKwch7udHf8e2xmNsftwid7ca2E6UC/output.jpg",
"logs": "0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:03<00:00, 3.51s/it]\n100%|██████████| 1/1 [00:03<00:00, 3.51s/it]\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:03<00:00, 3.50s/it]\n100%|██████████| 1/1 [00:03<00:00, 3.50s/it]\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:06, 4.49it/s]\n 7%|▋ | 2/30 [00:00<00:06, 4.46it/s]\n 10%|█ | 3/30 [00:00<00:05, 4.50it/s]\n 13%|█▎ | 4/30 [00:00<00:05, 4.49it/s]\n 17%|█▋ | 5/30 [00:01<00:05, 4.51it/s]\n 20%|██ | 6/30 [00:01<00:05, 4.53it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 4.53it/s]\n 27%|██▋ | 8/30 [00:01<00:04, 4.53it/s]\n 30%|███ | 9/30 [00:01<00:04, 4.52it/s]\n 33%|███▎ | 10/30 [00:02<00:04, 4.52it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 4.51it/s]\n 40%|████ | 12/30 [00:02<00:04, 4.48it/s]\n 43%|████▎ | 13/30 [00:02<00:03, 4.48it/s]\n 47%|████▋ | 14/30 [00:03<00:03, 4.51it/s]\n 50%|█████ | 15/30 [00:03<00:03, 4.51it/s]\n 53%|█████▎ | 16/30 [00:03<00:03, 4.51it/s]\n 57%|█████▋ | 17/30 [00:03<00:02, 4.50it/s]\n 60%|██████ | 18/30 [00:03<00:02, 4.50it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 4.49it/s]\n 67%|██████▋ | 20/30 [00:04<00:02, 4.47it/s]\n 70%|███████ | 21/30 [00:04<00:02, 4.47it/s]\n 73%|███████▎ | 22/30 [00:04<00:01, 4.46it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 4.47it/s]\n 80%|████████ | 24/30 [00:05<00:01, 4.47it/s]\n 83%|████████▎ | 25/30 [00:05<00:01, 4.49it/s]\n 87%|████████▋ | 26/30 [00:05<00:00, 4.49it/s]\n 90%|█████████ | 27/30 [00:06<00:00, 4.49it/s]\n 93%|█████████▎| 28/30 [00:06<00:00, 4.50it/s]\n 97%|█████████▋| 29/30 [00:06<00:00, 4.50it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.50it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.50it/s]",
"error": null,
"metrics": {
"predict_time": 16.590835,
"total_time": 16.600048
},
"created_at": "2024-04-05T01:45:07.025000Z",
"started_at": "2024-04-05T01:45:07.034213Z",
"completed_at": "2024-04-05T01:45:23.625048Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/chz7vk2mt5rgg0cenfqaj2war8",
"cancel": "https://api.replicate.com/v1/predictions/chz7vk2mt5rgg0cenfqaj2war8/cancel"
}
},
"latest_version": {
"id": "906425dbca90663ff5427624839572cc56ea7d380343d13e2a4c4b09d3f0c30f",
"created_at": "2024-04-25T03:18:00.940610+00:00",
"cog_version": "v0.9.5+dev",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"required": [
"garm_img",
"human_img"
],
"properties": {
"crop": {
"type": "boolean",
"title": "Crop",
"default": false,
"x-order": 5,
"description": "Use cropping? (check this if your image is not 3:4)"
},
"seed": {
"type": "integer",
"title": "Seed",
"default": 42,
"x-order": 9
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 30,
"maximum": 40,
"minimum": 1,
"x-order": 8
},
"category": {
"allOf": [
{
"$ref": "#/components/schemas/category"
}
],
"default": "upper_body",
"x-order": 4,
"description": "Category of garment"
},
"force_dc": {
"type": "boolean",
"title": "Force Dc",
"default": false,
"x-order": 6,
"description": "Use the DressCode version of IDM-VTON (this is default false, except if category=dresses)"
},
"garm_img": {
"type": "string",
"title": "Garm Img",
"format": "uri",
"x-order": 0,
"description": "Garment, should match the category, can be a product image or even a photo of someone"
},
"mask_img": {
"type": "string",
"title": "Mask Img",
"format": "uri",
"x-order": 3,
"description": "Mask image, optional (but faster)"
},
"human_img": {
"type": "string",
"title": "Human Img",
"format": "uri",
"x-order": 2,
"description": "Model, if this is not 3:4 check crop"
},
"mask_only": {
"type": "boolean",
"title": "Mask Only",
"default": false,
"x-order": 7,
"description": "Return only the mask"
},
"garment_des": {
"type": "string",
"title": "Garment Des",
"x-order": 1,
"description": "Description of garment e.g. Short Sleeve Round Neck T-shirt"
}
}
},
"Output": {
"type": "string",
"title": "Output",
"format": "uri"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"category": {
"enum": [
"upper_body",
"lower_body",
"dresses"
],
"type": "string",
"title": "category",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/fofr/cog-face-to-many",
"paper_url": null,
"license_url": "https://github.com/fofr/cog-face-to-many/blob/main/weights_licenses.md",
"run_count": 10959565,
"run_count": 10959899,
"cover_image_url": "https://replicate.delivery/pbxt/R1ayGe5efoQbaoRzgDEJdLsIZ20lWRiprvoW1F4uKAZIha6kA/ComfyUI_00001_.png",
"default_example": {
"id": "pft2dadbcdnh25z5ktctsj3sze",
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/fofr/sd3-with-chaos",
"paper_url": null,
"license_url": "https://stability.ai/license",
"run_count": 601,
"run_count": 608,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/2f18d552-7af0-4ec7-9b59-c9a375890321/image_grid_new.webp",
"default_example": {
"id": "hx7znzfjehrgj0cg6pw81ygeh4",
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/fofr/cog-cpu-toolkit",
"paper_url": null,
"license_url": "https://github.com/fofr/cog-cpu-toolkit/blob/main/LICENSE",
"run_count": 2681,
"run_count": 2682,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/f357612c-ef1c-4a61-94a4-8f02717a51a1/toolkit-cover.jpg",
"default_example": {
"id": "43ems6bbbt5czcn2ktxe4xjtc4",
File diff suppressed because one or more lines are too long
+527
View File
@@ -0,0 +1,527 @@
{
"url": "https://replicate.com/lucataco/moondream2",
"owner": "lucataco",
"name": "moondream2",
"description": "moondream2 is a small vision language model designed to run efficiently on edge devices",
"visibility": "public",
"github_url": "https://github.com/lucataco/cog-moondream2",
"paper_url": null,
"license_url": "https://github.com/vikhyat/moondream?tab=Apache-2.0-1-ov-file#readme",
"run_count": 70131,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/3cbb4e68-08b8-4e82-8e83-3300f877dd0f/moondream2.png",
"default_example": {
"id": "4jjwmddbhu3dozotzptvgigifa",
"model": "lucataco/moondream2",
"version": "392a53ac3f36d630d2d07ce0e78142acaccc338d6caeeb8ca552fe5baca2781e",
"status": "succeeded",
"input": {
"image": "https://replicate.delivery/pbxt/KZKNhDQHqycw8Op7w056J8YTX5Bnb7xVcLiyB4le7oUgT2cY/moondream2.png",
"prompt": "Describe this image"
},
"output": [
"",
" ",
"The ",
"image ",
"features ",
"a ",
"blue ",
"character ",
"with ",
"a ",
"",
"smiley ",
"",
"face, ",
"likely ",
"representing ",
"a ",
"",
"mooncake ",
"or ",
"a ",
"similar ",
"type ",
"of ",
"",
"food. ",
"The ",
"character ",
"is ",
"positioned ",
"in ",
"the ",
"center ",
"of ",
"the ",
"",
"image, ",
"with ",
"the ",
"",
"mooncake ",
"placed ",
"slightly ",
"to ",
"the ",
"",
"right. ",
"The ",
"blue ",
"color ",
"of ",
"the ",
"character ",
"and ",
"the ",
"",
"mooncake ",
"gives ",
"the ",
"impression ",
"that ",
"they ",
"are ",
"both ",
"enjoying ",
"a ",
"delicious ",
"treat ",
"",
"",
"together."
],
"logs": null,
"error": null,
"metrics": {
"predict_time": 1.322562,
"total_time": 1.367658
},
"created_at": "2024-03-14T15:04:19.374075Z",
"started_at": "2024-03-14T15:04:19.419171Z",
"completed_at": "2024-03-14T15:04:20.741733Z",
"urls": {
"stream": "https://streaming-api.svc.us.c.replicate.net/v1/streams/3wlglgv6ljjubdghyu2mczrvygqhfziybs5ypumshl2ws5kv5iha",
"get": "https://api.replicate.com/v1/predictions/4jjwmddbhu3dozotzptvgigifa",
"cancel": "https://api.replicate.com/v1/predictions/4jjwmddbhu3dozotzptvgigifa/cancel"
}
},
"latest_version": {
"id": "392a53ac3f36d630d2d07ce0e78142acaccc338d6caeeb8ca552fe5baca2781e",
"created_at": "2024-03-14T14:53:18.192712+00:00",
"cog_version": "0.9.4",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "Describe this image",
"x-order": 1,
"description": "Input prompt"
}
}
},
"Output": {
"type": "array",
"items": {
"type": "string"
},
"title": "Output",
"x-cog-array-type": "iterator",
"x-cog-array-display": "concatenate"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+504
View File
@@ -0,0 +1,504 @@
{
"url": "https://replicate.com/lucataco/pasd-magnify",
"owner": "lucataco",
"name": "pasd-magnify",
"description": "(Academic and Non-commercial use only) Pixel-Aware Stable Diffusion for Realistic Image Super-resolution and Personalized Stylization",
"visibility": "public",
"github_url": "https://github.com/lucataco/cog-PASD-Magnify",
"paper_url": "https://huggingface.co/papers/2308.14469",
"license_url": null,
"run_count": 30273,
"cover_image_url": "https://replicate.delivery/pbxt/MGJy2aTpJB7dI1sQ49nfZpdQh2pesLIF6cC22ySbGo0LhcKSA/output-20240108153527.jpg",
"default_example": {
"id": "wo45dqtbfv6zj3pwqldqj3qbxe",
"model": "lucataco/pasd-magnify",
"version": "d59e83ee13c42b137aee558c483e3acc0a8ecdacb1444a7be48152f008dcc195",
"status": "succeeded",
"input": {
"image": "https://replicate.delivery/pbxt/KBuUhAMqvkXfjTqqOyg1TqIXSzgUhCbjIzaFoNb7fUdkK685/frog.png",
"prompt": "Frog, clean, high-resolution, 8k, best quality, masterpiece",
"n_prompt": "dotted, noise, blur, lowres, oversmooth, longbody, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality",
"denoise_steps": 20,
"guidance_scale": 7.5,
"upsample_scale": 2,
"conditioning_scale": 1.1
},
"output": "https://replicate.delivery/pbxt/MGJy2aTpJB7dI1sQ49nfZpdQh2pesLIF6cC22ySbGo0LhcKSA/output-20240108153527.jpg",
"logs": "Using seed: 2896644955\nSeed set to 2896644955\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:12, 1.54it/s]\n 10%|█ | 2/20 [00:01<00:10, 1.76it/s]\n 15%|█▌ | 3/20 [00:01<00:09, 1.82it/s]\n 20%|██ | 4/20 [00:02<00:08, 1.86it/s]\n 25%|██▌ | 5/20 [00:02<00:07, 1.89it/s]\n 30%|███ | 6/20 [00:03<00:07, 1.90it/s]\n 35%|███▌ | 7/20 [00:03<00:06, 1.91it/s]\n 40%|████ | 8/20 [00:04<00:06, 1.91it/s]\n 45%|████▌ | 9/20 [00:04<00:05, 1.92it/s]\n 50%|█████ | 10/20 [00:05<00:05, 1.92it/s]\n 55%|█████▌ | 11/20 [00:05<00:04, 1.92it/s]\n 60%|██████ | 12/20 [00:06<00:04, 1.92it/s]\n 65%|██████▌ | 13/20 [00:06<00:03, 1.92it/s]\n 70%|███████ | 14/20 [00:07<00:03, 1.92it/s]\n 75%|███████▌ | 15/20 [00:07<00:02, 1.93it/s]\n 80%|████████ | 16/20 [00:08<00:02, 1.93it/s]\n 85%|████████▌ | 17/20 [00:08<00:01, 1.93it/s]\n 90%|█████████ | 18/20 [00:09<00:01, 1.93it/s]\n 95%|█████████▌| 19/20 [00:09<00:00, 1.93it/s]\n100%|██████████| 20/20 [00:10<00:00, 1.93it/s]\n100%|██████████| 20/20 [00:10<00:00, 1.90it/s]\n[Tiled VAE]: the input size is tiny and unnecessary to tile.\n[Tiled VAE]: Done in 11.102s, max VRAM alloc 5803.197 MB",
"error": null,
"metrics": {
"predict_time": 13.316808,
"total_time": 143.462103
},
"created_at": "2024-01-08T15:33:16.794743Z",
"started_at": "2024-01-08T15:35:26.940038Z",
"completed_at": "2024-01-08T15:35:40.256846Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/wo45dqtbfv6zj3pwqldqj3qbxe",
"cancel": "https://api.replicate.com/v1/predictions/wo45dqtbfv6zj3pwqldqj3qbxe/cancel"
}
},
"latest_version": {
"id": "d59e83ee13c42b137aee558c483e3acc0a8ecdacb1444a7be48152f008dcc195",
"created_at": "2024-01-08T15:17:33.283172+00:00",
"cog_version": "0.8.6",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 7,
"description": "Random seed. Leave blank to randomize the seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "Frog, clean, high-resolution, 8k, best quality, masterpiece",
"x-order": 1,
"description": "Prompt"
},
"n_prompt": {
"type": "string",
"title": "N Prompt",
"default": "dotted, noise, blur, lowres, oversmooth, longbody, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality",
"x-order": 2,
"description": "Negative Prompt"
},
"denoise_steps": {
"type": "integer",
"title": "Denoise Steps",
"default": 20,
"maximum": 50,
"minimum": 10,
"x-order": 3,
"description": "Denoise Steps"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"maximum": 10,
"minimum": 0.5,
"x-order": 6,
"description": "Guidance Scale"
},
"upsample_scale": {
"type": "integer",
"title": "Upsample Scale",
"default": 2,
"maximum": 4,
"minimum": 1,
"x-order": 4,
"description": "Upsample Scale"
},
"conditioning_scale": {
"type": "number",
"title": "Conditioning Scale",
"default": 1.1,
"maximum": 1.5,
"minimum": 0.5,
"x-order": 5,
"description": "Conditioning Scale"
}
}
},
"Output": {
"type": "string",
"title": "Output",
"format": "uri"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+449
View File
@@ -0,0 +1,449 @@
{
"url": "https://replicate.com/lucataco/qwen-vl-chat",
"owner": "lucataco",
"name": "qwen-vl-chat",
"description": "A multimodal LLM-based AI assistant, which is trained with alignment techniques. Qwen-VL-Chat supports more flexible interaction, such as multi-round question answering, and creative capabilities.",
"visibility": "public",
"github_url": "https://github.com/lucataco/cog-qwen-vl-chat",
"paper_url": "https://huggingface.co/papers/2308.12966",
"license_url": null,
"run_count": 755337,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/7cd09060-b91e-4261-a03e-ed772aa2e044/qwen.jpg",
"default_example": {
"id": "hkeljvlbsmzjhsuoxqupubwi44",
"model": "lucataco/qwen-vl-chat",
"version": "50881b153b4d5f72b3db697e2bbad23bb1277ab741c5b52d80cd6ee17ea660e9",
"status": "succeeded",
"input": {
"image": "https://replicate.delivery/pbxt/JSwt0WCMKtolbjYYo6WYIE01Iemz3etQD6ugKxxeiVVlMgjF/Menu.jpeg",
"prompt": "How much would I pay if I want to order two Salmon Burger and three Meat Lover\\'s Pizza? Think carefully step by step."
},
"output": "If you want to order two Salmon Burgers and three Meat Lover's Pizzas, the total cost would depend on the price of each item on the menu. \n\nLet's assume that the price of a Salmon Burger is $10 and the price of a Meat Lover's Pizza is $12. In this case, the total cost for two Salmon Burgers would be $20 and the total cost for three Meat Lover's Pizzas would be $36.\n\nSo, the total cost for two Salmon Burgers and three Meat Lover's Pizzas would be $56 ($20 for two Salmon Burgers + $36 for three Meat Lover's Pizzas).",
"logs": null,
"error": null,
"metrics": {
"predict_time": 6.278623,
"total_time": 271.134786
},
"created_at": "2023-10-15T03:37:52.522283Z",
"started_at": "2023-10-15T03:42:17.378446Z",
"completed_at": "2023-10-15T03:42:23.657069Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/hkeljvlbsmzjhsuoxqupubwi44",
"cancel": "https://api.replicate.com/v1/predictions/hkeljvlbsmzjhsuoxqupubwi44/cancel"
}
},
"latest_version": {
"id": "50881b153b4d5f72b3db697e2bbad23bb1277ab741c5b52d80cd6ee17ea660e9",
"created_at": "2023-10-15T03:37:42.989695+00:00",
"cog_version": "0.8.6",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "What is the name of the movie in the poster?",
"x-order": 1,
"description": "Question"
}
}
},
"Output": {
"type": "string",
"title": "Output"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/a16z-infra/cog-llama-template",
"paper_url": "https://ai.meta.com/research/publications/llama-2-open-foundation-and-fine-tuned-chat-models/",
"license_url": "https://ai.meta.com/resources/models-and-libraries/llama-downloads/",
"run_count": 7250923,
"run_count": 7251084,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/264ff5d2-0672-4eb4-9f2c-cea13af0ccbf/future-llama-70b-chat.png",
"default_example": {
"id": "ssetyuzew3nbe5ndybmon5wmmq",
+864
View File
@@ -0,0 +1,864 @@
{
"url": "https://replicate.com/meta/llama-2-7b-chat",
"owner": "meta",
"name": "llama-2-7b-chat",
"description": "A 7 billion parameter language model from Meta, fine tuned for chat completions",
"visibility": "public",
"github_url": "https://github.com/a16z-infra/cog-llama-template",
"paper_url": "https://ai.meta.com/research/publications/llama-2-open-foundation-and-fine-tuned-chat-models/",
"license_url": "https://ai.meta.com/resources/models-and-libraries/llama-downloads/",
"run_count": 8000388,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/33ad1ead-8954-4b3b-bd46-125c7e18143f/llama-logo.png",
"default_example": {
"id": "7xhvtyjbutohmf2ia5k2men57y",
"model": "meta/llama-2-7b-chat",
"version": "f1d50bb24186c52daae319ca8366e53debdaa9e0ae7ff976e918df752732ccc4",
"status": "succeeded",
"input": {
"top_p": 1,
"prompt": "Tell me how to tailor a men's suit so I look fashionable.",
"temperature": 0.75,
"system_prompt": "You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.\n\nIf a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.",
"max_new_tokens": 800,
"repetition_penalty": 1
},
"output": [
" Of",
" course,",
" I'd",
" be",
" happy",
" to",
" help!",
" Tailoring",
" a",
" men's",
" suit",
" can",
" make",
" a",
" huge",
" difference",
" in",
" how",
" fashionable",
" and",
" put-together",
" you",
" look.",
" Here",
" are",
" some",
" tips",
" to",
" help",
" you",
" tailor",
" a",
" men's",
" suit",
" that",
" will",
" make",
" you",
" look",
" stylish",
" and",
" fashionable:\n1.",
" Know",
" your",
" measurements:",
" Before",
" you",
" start",
" tailoring",
" your",
" suit,",
" it's",
" important",
" to",
" take",
" your",
" measurements",
" to",
" ensure",
" a",
" proper",
" fit.",
" Measure",
" your",
" chest,",
" waist,",
" inseam,",
" and",
" arm",
" length",
" to",
" give",
" to",
" your",
" tailor.\n2.",
" Choose",
" the",
" right",
" fabric:",
" The",
" fabric",
" of",
" your",
" suit",
" can",
" greatly",
" impact",
" how",
" it",
" looks",
" and",
" feels.",
" Consider",
" the",
" occasion,",
" season,",
" and",
" your",
" personal",
" style",
" when",
" choosing",
" the",
" fabric.",
" For",
" example,",
" a",
" lightweight",
" cotton",
" or",
" wool",
" suit",
" is",
" perfect",
" for",
" spring",
" and",
" summer,",
" while",
" a",
" rich,",
" luxurious",
" wool",
" suit",
" is",
" great",
" for",
" formal",
" events.\n3.",
" Get",
" the",
" right",
" fit:",
" A",
" well-fitted",
" suit",
" should",
" skim",
" your",
" body",
" without",
" being",
" too",
" tight",
" or",
" too",
" loose.",
" Make",
" sure",
" the",
" jacket",
" is",
" long",
" enough",
" to",
" cover",
" your",
" buttocks",
" when",
" you",
" stand",
" up",
" straight,",
" and",
" the",
" pants",
" should",
" be",
" long",
" enough",
" to",
" reach",
" your",
" ankles.\n4.",
" Pay",
" attention",
" to",
" the",
" shoulders:",
" The",
" shoulders",
" of",
" your",
" suit",
" should",
" be",
" well-balanced",
" and",
" not",
" too",
" narrow",
" or",
" too",
" wide.",
" You",
" can",
" use",
" a",
" shoulder",
" pad",
" to",
" add",
" structure",
" and",
" definition",
" to",
" your",
" shoulders",
" if",
" needed.\n5.",
" Take",
" care",
" of",
" the",
" details:",
" Pay",
" attention",
" to",
" the",
" little",
" details",
" that",
" can",
" make",
" a",
" big",
" difference",
" in",
" how",
" your",
" suit",
" looks.",
" Make",
" sure",
" the",
" pants",
" are",
" hemmed",
" correctly,",
" and",
" the",
" jacket",
" has",
" a",
" clean,",
" even",
" hem.\n6.",
" Get",
" it",
" altered:",
" If",
" you",
" want",
" to",
" really",
" make",
" your",
" suit",
" stand",
" out,",
" consider",
" getting",
" it",
" altered.",
" A",
" tailor",
" can",
" take",
" in",
" or",
" let",
" out",
" the",
" jacket",
" and",
" pants",
" to",
" fit",
" your",
" body",
" perfectly,",
" and",
" can",
" also",
" make",
" adjustments",
" to",
" the",
" sleeves,",
" collar,",
" and",
" pant",
" legs.\n\nBy",
" following",
" these",
" tips,",
" you",
" can",
" have",
" a",
" tailored",
" men's",
" suit",
" that",
" looks",
" fashionable",
" and",
" stylish,",
" and",
" that",
" you",
" can",
" wear",
" with",
" confidence.",
" Remember",
" to",
" always",
" work",
" with",
" a",
" reputable",
" tailor",
" who",
" can",
" help",
" you",
" achieve",
" the",
" best",
" results."
],
"logs": "prompt [INST] <<SYS>>\nYou are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.\nIf a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.\n<</SYS>>\nell me how to tailor a men's suit so I look fashionable. [/INST]",
"error": null,
"metrics": {
"predict_time": 18.364308,
"total_time": 18.326084
},
"created_at": "2023-07-22T00:57:53.459888Z",
"started_at": "2023-07-22T00:57:53.421664Z",
"completed_at": "2023-07-22T00:58:11.785972Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/7xhvtyjbutohmf2ia5k2men57y",
"cancel": "https://api.replicate.com/v1/predictions/7xhvtyjbutohmf2ia5k2men57y/cancel"
}
},
"latest_version": {
"id": "13c3cdee13ee059ab779f0291d29054dab00a47dad8261375654de5540165fb0",
"created_at": "2023-11-02T00:33:43.112349+00:00",
"cog_version": "0.8.6",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 9,
"description": "Random seed. Leave blank to randomize the seed"
},
"debug": {
"type": "boolean",
"title": "Debug",
"default": false,
"x-order": 10,
"description": "provide debugging output in logs"
},
"top_k": {
"type": "integer",
"title": "Top K",
"default": -1,
"minimum": -1.0,
"x-order": 6,
"description": "When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens"
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 0.95,
"maximum": 1.0,
"minimum": 0.0,
"x-order": 5,
"description": "When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt to send to the model."
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.7,
"maximum": 5.0,
"minimum": 0.01,
"x-order": 4,
"description": "Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value."
},
"system_prompt": {
"type": "string",
"title": "System Prompt",
"default": "You are a helpful, respectful and honest assistant.",
"x-order": 1,
"description": "System prompt to send to the model. This is prepended to the prompt and helps guide system behavior."
},
"max_new_tokens": {
"type": "integer",
"title": "Max New Tokens",
"default": 128,
"minimum": 1.0,
"x-order": 2,
"description": "Maximum number of tokens to generate. A word is generally 2-3 tokens"
},
"min_new_tokens": {
"type": "integer",
"title": "Min New Tokens",
"default": -1,
"minimum": -1.0,
"x-order": 3,
"description": "Minimum number of tokens to generate. To disable, set to -1. A word is generally 2-3 tokens."
},
"stop_sequences": {
"type": "string",
"title": "Stop Sequences",
"x-order": 8,
"description": "A comma-separated list of sequences to stop generation at. For example, '<end>,<stop>' will stop generation at the first instance of 'end' or '<stop>'."
},
"replicate_weights": {
"type": "string",
"title": "Replicate Weights",
"x-order": 11,
"description": "Path to fine-tuned weights produced by a Replicate fine-tune job."
},
"repetition_penalty": {
"type": "number",
"title": "Repetition Penalty",
"default": 1.15,
"minimum": 0.0,
"x-order": 7,
"description": "A parameter that controls how repetitive text can be. Lower means more repetitive, while higher means less repetitive. Set to 1.0 to disable."
}
}
},
"Output": {
"type": "array",
"items": {
"type": "string"
},
"title": "Output",
"x-cog-array-type": "iterator",
"x-cog-array-display": "concatenate"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/meta-llama/llama3",
"paper_url": null,
"license_url": "https://github.com/meta-llama/llama3/blob/main/LICENSE",
"run_count": 47297697,
"run_count": 47428809,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/12ed0c29-9236-4a21-ac5a-7faff3045ab1/meta-logo.png",
"default_example": {
"id": "7zr9g2asx9rgj0cey8698vm4d4",
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/meta-llama/llama3",
"paper_url": null,
"license_url": "https://github.com/meta-llama/llama3/blob/main/LICENSE",
"run_count": 21401734,
"run_count": 21431865,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/927d3fce-75e3-4af9-92da-f537bc34072a/meta-logo.png",
"default_example": {
"id": "855g9wxd7hrgp0cf7tsv1ewzgc",
@@ -7,7 +7,7 @@
"github_url": "https://github.com/nateraw/replicate-examples/tree/main/mixtral-vllm",
"paper_url": null,
"license_url": "https://choosealicense.com/licenses/apache-2.0/",
"run_count": 8505435,
"run_count": 8508845,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/802d34fe-29b9-4079-ad16-b4333788e539/mixtral.png",
"default_example": {
"id": "7xg537tbifojej65lk46tfzevu",
+451
View File
@@ -0,0 +1,451 @@
{
"url": "https://replicate.com/omniedgeio/face-swap",
"owner": "omniedgeio",
"name": "face-swap",
"description": "Face Swap",
"visibility": "public",
"github_url": null,
"paper_url": null,
"license_url": null,
"run_count": 1666173,
"cover_image_url": "https://replicate.delivery/pbxt/3lvsB8jz09opHRTDTuZ75cbFen7Ndft77rQuhFSUEbTdf1ojA/1698954716.jpg",
"default_example": {
"id": "oio7grdblfg4jssdg7ebbmzyie",
"model": "omniedgeio/face-swap",
"version": "c2d783366e8d32e6e82c40682fab6b4c23b9c6eff2692c0cf7585fc16c238cfe",
"status": "succeeded",
"input": {
"swap_image": "https://replicate.delivery/pbxt/JoBuzfSVFLb5lBqkf3v9xMnqx3jFCYhM5JcVInFFwab8sLg0/long-trench-coat.png",
"target_image": "https://replicate.delivery/pbxt/JoBuz3wGiVFQ1TDEcsGZbYcNh0bHpvwOi32T1fmxhRujqcu7/9X2.png"
},
"output": "https://replicate.delivery/pbxt/3lvsB8jz09opHRTDTuZ75cbFen7Ndft77rQuhFSUEbTdf1ojA/1698954716.jpg",
"logs": "/root/.pyenv/versions/3.9.18/lib/python3.9/site-packages/insightface/utils/transform.py:68: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.\nTo use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.\nP = np.linalg.lstsq(X_homo, Y)[0].T # Affine matrix. 3 x 4\n(2048, 2048, 3) None None",
"error": null,
"metrics": {
"predict_time": 33.489191,
"total_time": 131.350929
},
"created_at": "2023-11-02T19:49:46.959655Z",
"started_at": "2023-11-02T19:51:24.821393Z",
"completed_at": "2023-11-02T19:51:58.310584Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/oio7grdblfg4jssdg7ebbmzyie",
"cancel": "https://api.replicate.com/v1/predictions/oio7grdblfg4jssdg7ebbmzyie/cancel"
}
},
"latest_version": {
"id": "c2d783366e8d32e6e82c40682fab6b4c23b9c6eff2692c0cf7585fc16c238cfe",
"created_at": "2023-11-02T19:27:43.521185+00:00",
"cog_version": "0.8.6",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"required": [
"target_image",
"swap_image"
],
"properties": {
"swap_image": {
"type": "string",
"title": "Swap Image",
"format": "uri",
"x-order": 1,
"description": "Swap/source image"
},
"target_image": {
"type": "string",
"title": "Target Image",
"format": "uri",
"x-order": 0,
"description": "Target/base image"
}
}
},
"Output": {
"type": "string",
"title": "Output",
"format": "uri"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
@@ -0,0 +1,483 @@
{
"url": "https://replicate.com/pharmapsychotic/clip-interrogator",
"owner": "pharmapsychotic",
"name": "clip-interrogator",
"description": "The CLIP Interrogator is a prompt engineering tool that combines OpenAI's CLIP and Salesforce's BLIP to optimize text prompts to match a given image. Use the resulting prompts with text-to-image models like Stable Diffusion to create cool art!",
"visibility": "public",
"github_url": "https://github.com/pharmapsychotic/clip-interrogator",
"paper_url": null,
"license_url": "https://github.com/pharmapsychotic/clip-interrogator/blob/main/LICENSE",
"run_count": 1886309,
"cover_image_url": "https://replicate.delivery/pbxt/HrXsgowfhbZi3dImGZoIcvnz7oZfMtFY4UAEU8vBIakTd8JQ/watercolour-4799014_960_720.jpg",
"default_example": {
"id": "6iveqabqxrf55lw2xez2owwn6e",
"model": "pharmapsychotic/clip-interrogator",
"version": "41fdb702d3fbe06c9835e39ac6ddfb8dee872835b22d6e8a7e0a467c793155f9",
"status": "succeeded",
"input": {
"image": "https://replicate.delivery/pbxt/HrXsgowfhbZi3dImGZoIcvnz7oZfMtFY4UAEU8vBIakTd8JQ/watercolour-4799014_960_720.jpg",
"clip_model_name": "ViT-L/14"
},
"output": "a watercolor painting of a sea turtle, a digital painting, by Kubisi art, featured on dribbble, medibang, warm saturated palette, red and green tones, turquoise horizon, digital art h 9 6 0, detailed scenery —width 672, illustration:.4, spray art, artstatiom",
"logs": "0%| | 0/50 [00:00<?, ?it/s]\n 24%|██▍ | 12/50 [00:00<00:00, 119.71it/s]\n 48%|████▊ | 24/50 [00:00<00:00, 117.53it/s]\n 72%|███████▏ | 36/50 [00:00<00:00, 117.99it/s]\n 96%|█████████▌| 48/50 [00:00<00:00, 118.17it/s]\n100%|██████████| 50/50 [00:00<00:00, 119.05it/s]\n 0%| | 0/6 [00:00<?, ?it/s]\n100%|██████████| 6/6 [00:00<00:00, 93.98it/s]\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 33.81it/s]\nFlavor chain: 0%| | 0/25 [00:00<?, ?it/s]\nFlavor chain: 4%|▍ | 1/25 [00:03<01:12, 3.01s/it]\nFlavor chain: 8%|▊ | 2/25 [00:05<01:08, 2.97s/it]\nFlavor chain: 12%|█▏ | 3/25 [00:09<01:06, 3.02s/it]\nFlavor chain: 16%|█▌ | 4/25 [00:12<01:03, 3.05s/it]\nFlavor chain: 20%|██ | 5/25 [00:15<01:00, 3.04s/it]\nFlavor chain: 24%|██▍ | 6/25 [00:18<00:57, 3.05s/it]\nFlavor chain: 28%|██▊ | 7/25 [00:21<00:55, 3.09s/it]\nFlavor chain: 32%|███▏ | 8/25 [00:24<00:55, 3.25s/it]\nFlavor chain: 36%|███▌ | 9/25 [00:28<00:53, 3.33s/it]\nFlavor chain: 40%|████ | 10/25 [00:32<00:51, 3.45s/it]\nFlavor chain: 40%|████ | 10/25 [00:33<00:49, 3.31s/it]",
"error": null,
"metrics": {
"predict_time": 37.674196,
"total_time": 215.894706
},
"created_at": "2022-11-27T22:29:05.240885Z",
"started_at": "2022-11-27T22:32:03.461395Z",
"completed_at": "2022-11-27T22:32:41.135591Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/6iveqabqxrf55lw2xez2owwn6e",
"cancel": "https://api.replicate.com/v1/predictions/6iveqabqxrf55lw2xez2owwn6e/cancel"
}
},
"latest_version": {
"id": "8151e1c9f47e696fa316146a2e35812ccf79cfc9eba05b11c7f450155102af70",
"created_at": "2023-09-10T00:36:33.326917+00:00",
"cog_version": "0.8.6",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"mode": {
"enum": [
"best",
"classic",
"fast",
"negative"
],
"type": "string",
"title": "mode",
"description": "An enumeration."
},
"Input": {
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"mode": {
"allOf": [
{
"$ref": "#/components/schemas/mode"
}
],
"default": "best",
"x-order": 2,
"description": "Prompt mode (best takes 10-20 seconds, fast takes 1-2 seconds)."
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"clip_model_name": {
"allOf": [
{
"$ref": "#/components/schemas/clip_model_name"
}
],
"default": "ViT-L-14/openai",
"x-order": 1,
"description": "Choose ViT-L for Stable Diffusion 1, ViT-H for Stable Diffusion 2, or ViT-bigG for Stable Diffusion XL."
}
}
},
"Output": {
"type": "string",
"title": "Output"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
}
}
},
"clip_model_name": {
"enum": [
"ViT-L-14/openai",
"ViT-H-14/laion2b_s32b_b79k",
"ViT-bigG-14/laion2b_s39b_b160k"
],
"type": "string",
"title": "clip_model_name",
"description": "An enumeration."
},
"PredictionRequest": {
"type": "object",
"title": "PredictionRequest",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/philz1337x/clarity-upscaler",
"paper_url": "https://clarityai.co",
"license_url": "https://github.com/philz1337x/clarity-upscaler/blob/main/LICENSE.txt",
"run_count": 2714449,
"run_count": 2719762,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/76fbe6df-517d-480a-a6e4-dce383b40bbb/Bildschirmfoto_2024-03-30_um_09.2.png",
"default_example": {
"id": "snbeynewvsrgp0ceqsc8gjk6sm",
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/salesforce/BLIP",
"paper_url": "https://arxiv.org/abs/2201.12086",
"license_url": "https://github.com/salesforce/BLIP/blob/main/LICENSE.txt",
"run_count": 90263850,
"run_count": 90285140,
"cover_image_url": "https://replicate.delivery/mgxm/f4e50a7b-e8ca-432f-8e68-082034ebcc70/demo.jpg",
"default_example": {
"id": "i5xhgehjkjfyhlx7dg2f5tnrti",
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": null,
"paper_url": null,
"license_url": null,
"run_count": 27582,
"run_count": 27610,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/c2277a81-2e4f-4e64-b22c-27d5df1a749e/replicate-prediction-ckgaqp3bywy4.png",
"default_example": {
"id": "alhp5llb43i4gie2ie6ke3j5wi",
@@ -0,0 +1,755 @@
{
"url": "https://replicate.com/snowflake/snowflake-arctic-instruct",
"owner": "snowflake",
"name": "snowflake-arctic-instruct",
"description": "An efficient, intelligent, and truly open-source language model",
"visibility": "public",
"github_url": "https://github.com/Snowflake-Labs/snowflake-arctic",
"paper_url": null,
"license_url": "https://www.apache.org/licenses/LICENSE-2.0",
"run_count": 628507,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/18259dd0-6c42-441b-90f2-b67af9e4320b/Snowflake_Arctic_Opengraph_1200x6.png",
"default_example": {
"id": "3knp1rt7ksrhw0cf1s0vgxh2s0",
"model": "replicate-internal/test-staging",
"version": "2072330479447fbad9efb801ccf212f8f59e5660f620bff101c0dee1cc997fde",
"status": "succeeded",
"input": {
"top_p": 0.9,
"prompt": "Write fizz buzz in SQL",
"temperature": 0.2,
"max_new_tokens": 512,
"min_new_tokens": 0,
"stop_sequences": "<|im_end|>",
"prompt_template": "<|im_start|>system\nYou're a helpful assistant<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n\n<|im_start|>assistant\n",
"presence_penalty": 1.15,
"frequency_penalty": 0.2
},
"output": [
"Fiz",
"z ",
"Buzz is",
" a common pr",
"ogrammin",
"g pro",
"blem that",
" involves",
" printin",
"g num",
"b",
"e",
"rs ",
"f",
"r",
"o",
"m",
" ",
"1 to 100, ",
"replac",
"ing ",
"mul",
"t",
"i",
"ples ",
"of",
" ",
"3 w",
"it",
"h \"Fiz",
"z\", ",
"mul",
"t",
"i",
"ples ",
"of",
" ",
"5 w",
"it",
"h \"B",
"uzz\", ",
"and ",
"mul",
"tiple",
"s",
" ",
"of b",
"o",
"t",
"h 3 a",
"nd",
" ",
"5 w",
"i",
"th ",
"\"F",
"izzBu",
"z",
"z",
"\". H",
"ere'",
"s ho",
"w you ",
"can s",
"olve thi",
"s p",
"robl",
"e",
"m",
" ",
"in ",
"SQL",
":",
"\n",
"\n``",
"`sq",
"l\nW",
"IT",
"H ",
"RE",
"CUR",
"S",
"IV",
"E ",
"fiz",
"z_",
"b",
"uzz",
" AS (\n ",
" ",
" ",
" SE",
"LECT",
" ",
"1 A",
"S num\n",
" ",
"U",
"NIO",
"N ALL\n ",
" S",
"EL",
"E",
"C",
"T num",
" +",
" 1 ",
"F",
"RO",
"M ",
"fizz_b",
"uzz ",
"WH",
"E",
"R",
"E",
" ",
"n",
"u",
"m",
" < 100",
"\n",
")\nS",
"ELECT",
"\n",
" CAS",
"E\n ",
" ",
" ",
" ",
"WHE",
"N",
" ",
"M",
"O",
"D(",
"n",
"u",
"m, 3",
") ",
"= ",
"0",
" AN",
"D",
" ",
"M",
"O",
"D(",
"n",
"u",
"m, 5)",
" =",
" ",
"0 T",
"H",
"EN ",
"'",
"F",
"izzBuzz",
"'\n ",
" ",
" ",
" ",
"WHE",
"N",
" ",
"M",
"O",
"D(",
"n",
"u",
"m, 3)",
" =",
" ",
"0 T",
"H",
"E",
"N 'Fizz",
"'\n ",
" ",
" ",
" ",
"WHE",
"N",
" ",
"M",
"O",
"D(",
"n",
"u",
"m, 5)",
" =",
" ",
"0 T",
"H",
"E",
"N 'Buzz",
"'\n ",
" ",
" ",
"E",
"LSE",
" CA",
"ST(nu",
"m",
" ",
"AS ",
"CHAR",
")\n ",
" END ",
"A",
"S re",
"su",
"lt\n",
"F",
"RO",
"M ",
"f",
"i",
"zz_",
"buzz;\n```"
],
"logs": "INFO 04-24 03:58:30 async_llm_engine.py:508] Received request 709f2034294045d7aacd6694b23a02aa: prompt: \"<|im_start|>system\\nYou're a helpful assistant<|im_end|>\\n<|im_start|>user\\nWrite fizz buzz in SQL<|im_end|>\\n\\n<|im_start|>assistant\\n\", sampling_params: SamplingParams(n=1, best_of=1, presence_penalty=1.15, frequency_penalty=0.2, repetition_penalty=1.0, temperature=0.6, top_p=0.9, top_k=50, min_p=0.0, seed=None, use_beam_search=False, length_penalty=1.0, early_stopping=False, stop=['<|im_end|>', '<|im_end|>'], stop_token_ids=[], include_stop_str_in_output=False, ignore_eos=False, max_tokens=512, min_tokens=0, logprobs=None, prompt_logprobs=None, skip_special_tokens=True, spaces_between_special_tokens=True, truncate_prompt_tokens=None), prompt_token_ids: None, lora_request: None.\r\n stdoutINFO 04-24 03:58:33 async_llm_engine.py:120] Finished request 709f2034294045d7aacd6694b23a02aa.\r\n stdoutTokens/second: 79.51895574949201\r\n stdout",
"error": "",
"metrics": {
"predict_time": 3.0,
"total_time": 2.698
},
"created_at": "2024-04-24T03:58:30.302000Z",
"started_at": "2024-04-24T03:58:30Z",
"completed_at": "2024-04-24T03:58:33Z",
"urls": {
"stream": "https://streaming-api.svc.us-chicago-1.o.replicate.net/v1/streams/axg26c7crqn2w723buhwjxxiswx7conlfwp64wgim4sxszp7rxeq",
"get": "https://api.replicate.com/v1/predictions/3knp1rt7ksrhw0cf1s0vgxh2s0",
"cancel": "https://api.replicate.com/v1/predictions/3knp1rt7ksrhw0cf1s0vgxh2s0/cancel"
}
},
"latest_version": {
"id": "6133ce49e79282dc4fdbd984779921aa2160fb557ab17e0854aa2a7d690afb9c",
"created_at": "2024-04-24T03:32:23.817495+00:00",
"cog_version": "v0.10.0-alpha6+dev",
"openapi_schema": {
"info": {
"title": "Cog",
"version": "0.1.0"
},
"paths": {
"/": {
"get": {
"summary": "Root",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Root Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "root__get"
}
},
"/ready": {
"get": {
"summary": "Ready",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Ready Ready Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "ready_ready_get"
}
},
"/shutdown": {
"post": {
"summary": "Start Shutdown",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Start Shutdown Shutdown Post"
}
}
},
"description": "Successful Response"
}
},
"operationId": "start_shutdown_shutdown_post"
}
},
"/predictions": {
"post": {
"summary": "Predict",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionRequest"
}
}
}
}
}
},
"/health-check": {
"get": {
"summary": "Healthcheck",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Healthcheck Health Check Get"
}
}
},
"description": "Successful Response"
}
},
"operationId": "healthcheck_health_check_get"
}
},
"/predictions/{prediction_id}": {
"put": {
"summary": "Predict Idempotent",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PredictionResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
},
{
"in": "header",
"name": "prefer",
"schema": {
"type": "string",
"title": "Prefer"
},
"required": false
}
],
"description": "Run a single prediction on the model (idempotent creation).",
"operationId": "predict_idempotent_predictions__prediction_id__put",
"requestBody": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/PredictionRequest"
}
],
"title": "Prediction Request"
}
}
},
"required": true
}
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"summary": "Cancel",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"title": "Response Cancel Predictions Prediction Id Cancel Post"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"parameters": [
{
"in": "path",
"name": "prediction_id",
"schema": {
"type": "string",
"title": "Prediction ID"
},
"required": true
}
],
"description": "Cancel a running prediction",
"operationId": "cancel_predictions__prediction_id__cancel_post"
}
}
},
"openapi": "3.0.2",
"components": {
"schemas": {
"Input": {
"type": "object",
"title": "Input",
"properties": {
"top_k": {
"type": "integer",
"title": "Top K",
"default": 50,
"x-order": 5,
"description": "The number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering). Lower to ignore less likely tokens"
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 0.9,
"x-order": 4,
"description": "A probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751). Lower to ignore less likely tokens."
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 0,
"description": "Prompt to send to the model."
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.6,
"x-order": 3,
"description": "The value used to modulate the next token probabilities. Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value."
},
"max_new_tokens": {
"type": "integer",
"title": "Max New Tokens",
"default": 512,
"x-order": 2,
"description": "The maximum number of tokens the model should generate as output. A word is generally 2-3 tokens."
},
"min_new_tokens": {
"type": "integer",
"title": "Min New Tokens",
"default": 0,
"x-order": 1,
"description": "The minimum number of tokens the model should generate as output. A word is generally 2-3 tokens."
},
"stop_sequences": {
"type": "string",
"title": "Stop Sequences",
"default": "<|im_end|>",
"x-order": 9,
"description": "A comma-separated list of sequences to stop generation at. For example, '<end>,<stop>' will stop generation at the first instance of 'end' or '<stop>'."
},
"prompt_template": {
"type": "string",
"title": "Prompt Template",
"default": "<|im_start|>system\nYou're a helpful assistant<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n\n<|im_start|>assistant\n",
"x-order": 8,
"description": "Prompt template. The string `{prompt}` will be substituted for the input prompt. If you want to generate dialog output, use this template as a starting point and construct the prompt string manually, leaving `prompt_template={prompt}`."
},
"presence_penalty": {
"type": "number",
"title": "Presence Penalty",
"default": 1.15,
"x-order": 6,
"description": "A parameter that penalizes repeated tokens regardless of the number of appearances. As the value increases, the model will be less likely to repeat tokens in the output."
},
"frequency_penalty": {
"type": "number",
"title": "Frequency Penalty",
"default": 0.2,
"x-order": 7,
"description": "Frequency penalty is similar to presence penalty, but while presence penalty applies to all tokens that have been sampled at least once, the frequency penalty proportional to how often a particular token has already been sampled."
}
}
},
"Output": {
"type": "array",
"items": {
"type": "string"
},
"title": "Output",
"x-cog-array-type": "iterator",
"x-cog-array-display": "concatenate"
},
"Status": {
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"type": "string",
"title": "Status",
"description": "An enumeration."
},
"WebhookEvent": {
"enum": [
"start",
"output",
"logs",
"completed"
],
"type": "string",
"title": "WebhookEvent",
"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"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"webhook": {
"type": "string",
"title": "Webhook",
"format": "uri",
"maxLength": 65536,
"minLength": 1
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"output_file_prefix": {
"type": "string",
"title": "Output File Prefix"
},
"webhook_events_filter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookEvent"
},
"default": [
"start",
"output",
"logs",
"completed"
]
}
}
},
"PredictionResponse": {
"type": "object",
"title": "PredictionResponse",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"logs": {
"type": "string",
"title": "Logs",
"default": ""
},
"error": {
"type": "string",
"title": "Error"
},
"input": {
"$ref": "#/components/schemas/Input"
},
"output": {
"$ref": "#/components/schemas/Output"
},
"status": {
"$ref": "#/components/schemas/Status"
},
"metrics": {
"type": "object",
"title": "Metrics"
},
"version": {
"type": "string",
"title": "Version"
},
"created_at": {
"type": "string",
"title": "Created At",
"format": "date-time"
},
"started_at": {
"type": "string",
"title": "Started At",
"format": "date-time"
},
"completed_at": {
"type": "string",
"title": "Completed At",
"format": "date-time"
}
}
},
"HTTPValidationError": {
"type": "object",
"title": "HTTPValidationError",
"properties": {
"detail": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail"
}
}
}
}
}
}
}
}
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/replicate/cog-sdxl",
"paper_url": "https://arxiv.org/abs/2307.01952",
"license_url": "https://github.com/Stability-AI/generative-models/blob/main/model_licenses/LICENSE-SDXL1.0",
"run_count": 55490453,
"run_count": 55502875,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/61004930-fb88-4e09-9bd4-74fd8b4aa677/sdxl_cover.png",
"default_example": {
"id": "dzsqmb3bg4lqpjkz2iptjqgccm",
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/fofr/cog-comfyui-sd3",
"paper_url": "https://arxiv.org/pdf/2403.03206",
"license_url": "https://github.com/replicate/cog-stable-diffusion-3/blob/main/LICENSE",
"run_count": 245662,
"run_count": 247100,
"cover_image_url": "https://replicate.delivery/pbxt/xSNDMDlOk4IzHxJZ1ntRe80wu1JD65y2lLRkO0YWxnBXP7eSA/R8_SD3_00001_.webp",
"default_example": {
"id": "qajxd850zxrgg0cg1kpr0h6nkg",
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/haotian-liu/LLaVA",
"paper_url": "https://arxiv.org/abs/2310.03744",
"license_url": "https://ai.meta.com/llama/license/",
"run_count": 10110920,
"run_count": 10146412,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/2c5dbfff-209d-4ab5-a294-b3e5e56105c0/dalle3.jpg",
"default_example": {
"id": "x5pthttb2mghadkxlvymeprkce",
+1 -1
View File
@@ -7,7 +7,7 @@
"github_url": "https://github.com/haotian-liu/LLaVA",
"paper_url": null,
"license_url": "https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2",
"run_count": 1542271,
"run_count": 1542282,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/6bc7974c-7209-4877-98f5-23e77ef1c6da/fa58799b-aa47-4117-bf1f-25149e2d.webp",
"default_example": {
"id": "qlua7w3b5y2fcputi27al53qgy",