Change models to include

This commit is contained in:
Paul
2024-06-27 16:38:18 +00:00
parent 6f16395989
commit 9d682eaa16
5 changed files with 1193 additions and 214 deletions
+4 -1
View File
@@ -29,12 +29,15 @@ models_to_import = [
"lucataco/qwen-vl-chat",
"omniedgeio/face-swap",
"ai-forever/kandinsky-2.2",
"pharmapsychotic/clip-interrogator",
"lucataco/sdxl-clip-interrogator",
"lucataco/paligemma-3b-pt-224",
"lucataco/llama-3-vision-alpha",
"cuuupid/idm-vton",
"cuuupid/glm-4v-9b",
"lucataco/moondream2",
"cjwbw/hyper-sdxl-1step-t2i",
"cjwbw/pixart-sigma",
"lucataco/hunyuandit-v1.1",
]
File diff suppressed because one or more lines are too long
+602
View File
@@ -0,0 +1,602 @@
{
"url": "https://replicate.com/lucataco/llama-3-vision-alpha",
"owner": "lucataco",
"name": "llama-3-vision-alpha",
"description": "Projection module trained to add vision capabilties to Llama 3 using SigLIP",
"visibility": "public",
"github_url": "https://github.com/lucataco/cog-llama-3-vision-alpha",
"paper_url": "https://arxiv.org/abs/2304.08485",
"license_url": "https://huggingface.co/meta-llama/Meta-Llama-3-8B/blob/main/LICENSE",
"run_count": 0,
"cover_image_url": "https://replicate.delivery/pbxt/Kq17Ws2RLIXdeFeep2N56psrMVq57TPssPrffeF8HawmOhvD/frieren.jpg",
"default_example": {
"id": "8kzht6ne5hrgm0cf5ybv5cmzkc",
"model": "lucataco/llama-3-vision-alpha",
"version": "dac46dcfb2df89c756086576a7a0c6eca7afe5e31fa06438fdbb1f4f536eedaf",
"status": "succeeded",
"input": {
"image": "https://replicate.delivery/pbxt/Kq17Ws2RLIXdeFeep2N56psrMVq57TPssPrffeF8HawmOhvD/frieren.jpg",
"prompt": "Describe the image"
},
"output": [
"",
"The ",
"image ",
"is ",
"of ",
"a ",
"young ",
"girl ",
"with ",
"",
"short, ",
"curly ",
"hair ",
"and ",
"bright ",
"blue ",
"",
"eyes. ",
"She ",
"is ",
"wearing ",
"a ",
"white ",
"dress ",
"with ",
"a ",
"golden ",
"belt ",
"around ",
"her ",
"waist ",
"and ",
"has ",
"a ",
"",
"",
"mischievous ",
"grin ",
"on ",
"her ",
"",
"face. ",
"She ",
"is ",
"holding ",
"a ",
"giant ",
"hamburger ",
"in ",
"her ",
"",
"hand, ",
"with ",
"a ",
"big ",
"bite ",
"taken ",
"out ",
"of ",
"",
"it. ",
"Her ",
"eyes ",
"are ",
"shining ",
"with ",
"excitement ",
"and ",
"her ",
"cheeks ",
"are ",
"flushed ",
"from ",
"",
"eating. ",
"She ",
"looks ",
"like ",
"",
"she's ",
"in ",
"the ",
"middle ",
"of ",
"a ",
"fun ",
"and ",
"",
"carefree ",
"",
"moment, ",
"enjoying ",
"her ",
"meal ",
"and ",
"the ",
"company ",
"of ",
"her ",
"",
"friends. ",
"The ",
"background ",
"is ",
"a ",
"warm ",
"and ",
"cozy ",
"",
"setting, ",
"with ",
"a ",
"wooden ",
"table ",
"and ",
"",
"chairs, ",
"and ",
"a ",
"festive ",
"atmosphere ",
"that ",
"suggests ",
"a ",
"holiday ",
"or ",
"special ",
"",
"occasion. ",
"The ",
"overall ",
"vibe ",
"is ",
"playful ",
"and ",
"",
"joyful, ",
"capturing ",
"the ",
"",
"carefree ",
"spirit ",
"of ",
"",
"",
"childhood."
],
"logs": null,
"error": null,
"metrics": {
"predict_time": 8.905294,
"total_time": 292.602743
},
"created_at": "2024-04-30T15:20:20.780000Z",
"started_at": "2024-04-30T15:25:04.477449Z",
"completed_at": "2024-04-30T15:25:13.382743Z",
"urls": {
"stream": "https://streaming-api.svc.us.c.replicate.net/v1/streams/rbm5s2l5wkz7yjee5nscm6by76lbikyjhu4hnc2ldpxgms7ihakq",
"get": "https://api.replicate.com/v1/predictions/8kzht6ne5hrgm0cf5ybv5cmzkc",
"cancel": "https://api.replicate.com/v1/predictions/8kzht6ne5hrgm0cf5ybv5cmzkc/cancel"
}
},
"latest_version": {
"id": "dac46dcfb2df89c756086576a7a0c6eca7afe5e31fa06438fdbb1f4f536eedaf",
"created_at": "2024-04-30T15:19:01.921600+00:00",
"cog_version": "0.9.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": "Describe the 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"
}
}
}
}
}
}
}
}
+449
View File
@@ -0,0 +1,449 @@
{
"url": "https://replicate.com/lucataco/paligemma-3b-pt-224",
"owner": "lucataco",
"name": "paligemma-3b-pt-224",
"description": "PaliGemma 3B, an open VLM by Google, pre-trained with 224*224 input images and 128 token input/output text sequences",
"visibility": "public",
"github_url": "https://github.com/lucataco/cog-paligemma-3b-pt-224",
"paper_url": "https://arxiv.org/abs/2310.09199",
"license_url": "https://ai.google.dev/gemma/terms",
"run_count": 0,
"cover_image_url": "https://replicate.delivery/pbxt/Kv6Dn1Mk1tZe7vfVaRuPNBJcoDBYhRGQ33OTkq70l375ULSi/car.jpg",
"default_example": {
"id": "8m2yqtrtfdrgm0cff5cb3zasv8",
"model": "lucataco/paligemma-3b-pt-224",
"version": "c519755cce71af83c3831c3b3b7fe6c1de4a4dc27eff91f9e79639e14924a078",
"status": "succeeded",
"input": {
"image": "https://replicate.delivery/pbxt/Kv6Dn1Mk1tZe7vfVaRuPNBJcoDBYhRGQ33OTkq70l375ULSi/car.jpg",
"prompt": "caption es"
},
"output": "persona estacionada en una calle",
"logs": null,
"error": null,
"metrics": {
"predict_time": 0.578439,
"total_time": 0.625058
},
"created_at": "2024-05-14T23:02:48.187000Z",
"started_at": "2024-05-14T23:02:48.233619Z",
"completed_at": "2024-05-14T23:02:48.812058Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/8m2yqtrtfdrgm0cff5cb3zasv8",
"cancel": "https://api.replicate.com/v1/predictions/8m2yqtrtfdrgm0cff5cb3zasv8/cancel"
}
},
"latest_version": {
"id": "c519755cce71af83c3831c3b3b7fe6c1de4a4dc27eff91f9e79639e14924a078",
"created_at": "2024-05-14T22:58:12.484677+00:00",
"cog_version": "0.9.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": "Grayscale input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "caption es",
"x-order": 1,
"description": "Input prompt"
}
}
},
"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,45 +1,42 @@
{
"url": "https://replicate.com/fofr/toolkit",
"owner": "fofr",
"name": "toolkit",
"description": "Video toolkit – convert, make GIFs, extract audio",
"url": "https://replicate.com/lucataco/sdxl-clip-interrogator",
"owner": "lucataco",
"name": "sdxl-clip-interrogator",
"description": "CLIP Interrogator for SDXL optimizes text prompts to match a given image",
"visibility": "public",
"github_url": "https://github.com/fofr/cog-cpu-toolkit",
"github_url": "https://github.com/lucataco/cog-sdxl-clip-interrogator",
"paper_url": null,
"license_url": "https://github.com/fofr/cog-cpu-toolkit/blob/main/LICENSE",
"license_url": "https://github.com/pharmapsychotic/clip-interrogator/blob/main/LICENSE",
"run_count": 0,
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/f357612c-ef1c-4a61-94a4-8f02717a51a1/toolkit-cover.jpg",
"cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/c200f919-4cc1-412b-8edf-e2863a5eef56/replicate-sdxl-inter.png",
"default_example": {
"id": "43ems6bbbt5czcn2ktxe4xjtc4",
"model": "fofr/toolkit",
"version": "13d8a443e688f30e85af80d42b055e950a3c880842416c4ba61b7190b1fe51e8",
"id": "xwzgcke3tsrgp0cfg9hsapefg4",
"model": "lucataco/sdxl-clip-interrogator",
"version": "b8dd624ad312d215250b362af0ecff05d7ad4f8270f9beb034c483d70682e7b3",
"status": "succeeded",
"input": {
"fps": 0,
"task": "convert_input_to_gif",
"input_file": "https://replicate.delivery/pbxt/K4PoZN3Q6JIiG61inQLKTxIYVpOVoAYCfxwQksNGTfnmGLUf/video%20(2).mp4"
"mode": "fast",
"image": "https://replicate.delivery/pbxt/JLnoDw8UCQGRPTMy9zpMqs8g7EhVt1X0tEQrM4JFOdpibokp/replicate-sdxl-inter.png"
},
"output": [
"https://replicate.delivery/pbxt/QiMxG3cT8poUNJriq4LwebTXijrcUigRpBG6HAiqnCnfFfGkA/video.gif"
],
"logs": "Running ffmpeg command: ffmpeg -i /tmp/tmpgyow6svvvideo (2).mp4 -pix_fmt yuv420p -vf fps=12,scale=512:-1:flags=lanczos -c:v gif /tmp/outputs/video.gif\nffmpeg version 5.1.4-0+deb12u1 Copyright (c) 2000-2023 the FFmpeg developers\nbuilt with gcc 12 (Debian 12.2.0-14)\nconfiguration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared\nlibavutil 57. 28.100 / 57. 28.100\nlibavcodec 59. 37.100 / 59. 37.100\nlibavformat 59. 27.100 / 59. 27.100\nlibavdevice 59. 7.100 / 59. 7.100\nlibavfilter 8. 44.100 / 8. 44.100\nlibswscale 6. 7.100 / 6. 7.100\nlibswresample 4. 7.100 / 4. 7.100\nlibpostproc 56. 6.100 / 56. 6.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/tmpgyow6svvvideo (2).mp4':\nMetadata:\nmajor_brand : isom\nminor_version : 512\ncompatible_brands: isomiso2avc1mp41\nencoder : Lavf59.27.100\nDuration: 00:00:03.38, start: 0.000000, bitrate: 1631 kb/s\nStream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1465 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)\nMetadata:\nhandler_name : Core Media Video\nvendor_id : [0][0][0][0]\nencoder : Lavc59.37.100 libx264\nStream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 157 kb/s (default)\nMetadata:\nhandler_name : Core Media Audio\nvendor_id : [0][0][0][0]\nStream mapping:\nStream #0:0 -> #0:0 (h264 (native) -> gif (native))\nPress [q] to stop, [?] for help\nIncompatible pixel format 'yuv420p' for codec 'gif', auto-selecting format 'bgr8'\nOutput #0, gif, to '/tmp/outputs/video.gif':\nMetadata:\nmajor_brand : isom\nminor_version : 512\ncompatible_brands: isomiso2avc1mp41\nencoder : Lavf59.27.100\nStream #0:0(eng): Video: gif, bgr8(pc, gbr/bt709/bt709, progressive), 512x288 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 12 fps, 100 tbn (default)\nMetadata:\nhandler_name : Core Media Video\nvendor_id : [0][0][0][0]\nencoder : Lavc59.37.100 gif\nframe= 1 fps=0.0 q=-0.0 size= 0kB time=00:00:00.01 bitrate= 0.0kbits/s speed=0.128x\nframe= 41 fps=0.0 q=-0.0 Lsize= 622kB time=00:00:03.34 bitrate=1525.6kbits/s speed=8.68x\nvideo:622kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.003140%",
"output": "a painting of a turtle swimming in the ocean, high detailed illustration, colored illustration for tattoo, highly detailed illustration.”, watercolor artwork of exotic, watercolor artstyle, watercolor digital painting, watercolor colored painting, detailed watercolor painting, colorful watercolor painting, colored illustration, watercolor illustration style, digital art highly detailed, highly detailed water colour 8 k, highly detailed water colour 8k",
"logs": "0%| | 0/55 [00:00<?, ?it/s]\n 55%|█████▍ | 30/55 [00:00<00:00, 298.39it/s]\n100%|██████████| 55/55 [00:00<00:00, 312.12it/s]",
"error": null,
"metrics": {
"predict_time": 1.456677,
"total_time": 1.471223
"predict_time": 1.172608,
"total_time": 135.008298
},
"created_at": "2023-12-18T12:47:58.510153Z",
"started_at": "2023-12-18T12:47:58.524699Z",
"completed_at": "2023-12-18T12:47:59.981376Z",
"created_at": "2024-05-16T17:12:07.382000Z",
"started_at": "2024-05-16T17:14:21.217690Z",
"completed_at": "2024-05-16T17:14:22.390298Z",
"urls": {
"get": "https://api.replicate.com/v1/predictions/43ems6bbbt5czcn2ktxe4xjtc4",
"cancel": "https://api.replicate.com/v1/predictions/43ems6bbbt5czcn2ktxe4xjtc4/cancel"
"get": "https://api.replicate.com/v1/predictions/xwzgcke3tsrgp0cfg9hsapefg4",
"cancel": "https://api.replicate.com/v1/predictions/xwzgcke3tsrgp0cfg9hsapefg4/cancel"
}
},
"latest_version": {
"id": "19711d11c243800f08364ba9ae9078f54874f21363ba445dabdbf082b5d69565",
"created_at": "2024-01-09T11:20:21.732230+00:00",
"cog_version": "0.8.6",
"id": "b8dd624ad312d215250b362af0ecff05d7ad4f8270f9beb034c483d70682e7b3",
"created_at": "2024-05-16T16:19:02.026063+00:00",
"cog_version": "0.9.6",
"openapi_schema": {
"info": {
"title": "Cog",
@@ -257,60 +254,43 @@
"openapi": "3.0.2",
"components": {
"schemas": {
"task": {
"mode": {
"enum": [
"convert_input_to_mp4",
"convert_input_to_gif",
"extract_video_audio_as_mp3",
"zipped_frames_to_mp4",
"zipped_frames_to_gif",
"extract_frames_from_input",
"reverse_video",
"bounce_video"
"best",
"fast"
],
"type": "string",
"title": "task",
"title": "mode",
"description": "An enumeration."
},
"Input": {
"type": "object",
"title": "Input",
"required": [
"task",
"input_file"
"image"
],
"properties": {
"fps": {
"type": "integer",
"title": "Fps",
"default": 0,
"x-order": 2,
"description": "frames per second, if relevant. Use 0 to keep original fps (or use default). Converting to GIF defaults to 12fps"
},
"task": {
"mode": {
"allOf": [
{
"$ref": "#/components/schemas/task"
"$ref": "#/components/schemas/mode"
}
],
"x-order": 0,
"description": "Task to perform"
},
"input_file": {
"type": "string",
"title": "Input File",
"format": "uri",
"default": "best",
"x-order": 1,
"description": "File – zip, image or video to process"
"description": "Prompt Mode: fast takes 1-2 seconds, best takes 15-25 seconds."
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
}
}
},
"Output": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"type": "string",
"title": "Output"
},
"Status": {