diff --git a/schemas/black-forest-labs_flux-canny-dev.json b/schemas/black-forest-labs_flux-canny-dev.json new file mode 100644 index 0000000..8133ffa --- /dev/null +++ b/schemas/black-forest-labs_flux-canny-dev.json @@ -0,0 +1,552 @@ +{ + "url": "https://replicate.com/black-forest-labs/flux-canny-dev", + "owner": "black-forest-labs", + "name": "flux-canny-dev", + "description": "Open-weight edge-guided image generation. Control structure and composition using Canny edge detection.", + "visibility": "public", + "github_url": null, + "paper_url": null, + "license_url": "https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev", + "run_count": 0, + "cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/788cf228-ae38-473a-a992-1e650aab0519/flux-canny-dev.jpg", + "default_example": { + "id": "d9v5nwg7xsrma0ck9x4a8z0g18", + "model": "black-forest-labs/flux-canny-dev", + "version": "81b6707d19bcb0b94c34b76fab4c63bcbf5ecb1f6cab43cadc3f86b9a0a53cca", + "status": "succeeded", + "input": { + "prompt": "A red vintage convertible driving through an old town", + "guidance": 30, + "megapixels": "1", + "num_outputs": 1, + "control_image": "https://replicate.delivery/pbxt/M0mUcvKOwNSS4axvv7LAngBAR5Iuv2GsIcnSKdpQRJA62f8G/Screenshot%202024-11-21%20at%2016.08.20.png", + "output_format": "webp", + "output_quality": 80, + "num_inference_steps": 28 + }, + "output": [ + "https://replicate.delivery/xezq/4bt5HoegzYR9EKqv70zsBoHnhFkcaB9Yk1naaQJai6rtfPzTA/out-0.webp" + ], + "logs": "running bf16 model, fp8 disabled\nUsing seed: 25823\n0it [00:00, ?it/s]\n1it [00:00, 8.11it/s]\n2it [00:00, 5.66it/s]\n3it [00:00, 5.15it/s]\n4it [00:00, 4.94it/s]\n5it [00:00, 4.74it/s]\n6it [00:01, 4.69it/s]\n7it [00:01, 4.66it/s]\n8it [00:01, 4.65it/s]\n9it [00:01, 4.64it/s]\n10it [00:02, 4.61it/s]\n11it [00:02, 4.61it/s]\n12it [00:02, 4.61it/s]\n13it [00:02, 4.61it/s]\n14it [00:02, 4.59it/s]\n15it [00:03, 4.59it/s]\n16it [00:03, 4.59it/s]\n17it [00:03, 4.60it/s]\n18it [00:03, 4.60it/s]\n19it [00:04, 4.58it/s]\n20it [00:04, 4.58it/s]\n21it [00:04, 4.59it/s]\n22it [00:04, 4.60it/s]\n23it [00:04, 4.61it/s]\n24it [00:05, 4.59it/s]\n25it [00:05, 4.59it/s]\n26it [00:05, 4.59it/s]\n27it [00:05, 4.60it/s]\n28it [00:06, 4.59it/s]\n28it [00:06, 4.67it/s]\nTotal safe images: 1 out of 1", + "error": null, + "metrics": { + "image_count": 1, + "predict_time": 6.611810817, + "total_time": 6.619277 + }, + "created_at": "2024-11-21T15:12:20.974000Z", + "started_at": "2024-11-21T15:12:20.981466Z", + "completed_at": "2024-11-21T15:12:27.593277Z", + "urls": { + "stream": "https://stream.replicate.com/v1/files/bcwr-rxxzhmhyoia3wetm2bu2vgsqfgoy3q7d2nhua3spprualor3nk4q", + "get": "https://api.replicate.com/v1/predictions/d9v5nwg7xsrma0ck9x4a8z0g18", + "cancel": "https://api.replicate.com/v1/predictions/d9v5nwg7xsrma0ck9x4a8z0g18/cancel" + } + }, + "latest_version": { + "id": "33ba5ec347347b22d091ba1b063221a71d140007d1491622061b5d2f5eae1445", + "created_at": "2024-11-21T13:33:26.290592+00:00", + "cog_version": "0.9.21", + "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", + "control_image" + ], + "properties": { + "seed": { + "type": "integer", + "title": "Seed", + "x-order": 5, + "description": "Random seed. Set for reproducible generation" + }, + "prompt": { + "type": "string", + "title": "Prompt", + "x-order": 0, + "description": "Prompt for generated image" + }, + "guidance": { + "type": "number", + "title": "Guidance", + "default": 30, + "maximum": 100, + "minimum": 0, + "x-order": 4, + "description": "Guidance for generated image" + }, + "megapixels": { + "allOf": [ + { + "$ref": "#/components/schemas/megapixels" + } + ], + "default": "1", + "x-order": 9, + "description": "Approximate number of megapixels for generated image. Use match_input to match the size of the input (with an upper limit of 1440x1440 pixels)" + }, + "num_outputs": { + "type": "integer", + "title": "Num Outputs", + "default": 1, + "maximum": 4, + "minimum": 1, + "x-order": 2, + "description": "Number of outputs to generate" + }, + "control_image": { + "type": "string", + "title": "Control Image", + "format": "uri", + "x-order": 1, + "description": "Image used to control the generation. The canny edge detection will be automatically generated." + }, + "output_format": { + "allOf": [ + { + "$ref": "#/components/schemas/output_format" + } + ], + "default": "webp", + "x-order": 6, + "description": "Format of the output images" + }, + "output_quality": { + "type": "integer", + "title": "Output Quality", + "default": 80, + "maximum": 100, + "minimum": 0, + "x-order": 7, + "description": "Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs" + }, + "num_inference_steps": { + "type": "integer", + "title": "Num Inference Steps", + "default": 28, + "maximum": 50, + "minimum": 1, + "x-order": 3, + "description": "Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster." + }, + "disable_safety_checker": { + "type": "boolean", + "title": "Disable Safety Checker", + "default": false, + "x-order": 8, + "description": "Disable safety checker for generated images." + } + } + }, + "Output": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "title": "Output" + }, + "Status": { + "enum": [ + "starting", + "processing", + "succeeded", + "canceled", + "failed" + ], + "type": "string", + "title": "Status", + "description": "An enumeration." + }, + "megapixels": { + "enum": [ + "1", + "0.25", + "match_input" + ], + "type": "string", + "title": "megapixels", + "description": "An enumeration." + }, + "WebhookEvent": { + "enum": [ + "start", + "output", + "logs", + "completed" + ], + "type": "string", + "title": "WebhookEvent", + "description": "An enumeration." + }, + "output_format": { + "enum": [ + "webp", + "jpg", + "png" + ], + "type": "string", + "title": "output_format", + "description": "An enumeration." + }, + "ValidationError": { + "type": "object", + "title": "ValidationError", + "required": [ + "loc", + "msg", + "type" + ], + "properties": { + "loc": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + } + } + }, + "PredictionRequest": { + "type": "object", + "title": "PredictionRequest", + "properties": { + "id": { + "type": "string", + "title": "Id" + }, + "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" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/schemas/black-forest-labs_flux-canny-pro.json b/schemas/black-forest-labs_flux-canny-pro.json new file mode 100644 index 0000000..e3f850a --- /dev/null +++ b/schemas/black-forest-labs_flux-canny-pro.json @@ -0,0 +1,534 @@ +{ + "url": "https://replicate.com/black-forest-labs/flux-canny-pro", + "owner": "black-forest-labs", + "name": "flux-canny-pro", + "description": "Professional edge-guided image generation. Control structure and composition using Canny edge detection", + "visibility": "public", + "github_url": null, + "paper_url": null, + "license_url": "https://replicate.com/black-forest-labs/flux-canny-pro#license", + "run_count": 0, + "cover_image_url": "https://tjzk.replicate.delivery/models_models_featured_image/4c07cacc-d206-4587-9357-8e4e81cd761a/https___replicate.deli_lsMxQWe.jpg", + "default_example": { + "id": "py9k3fdpjhrg80ck9svtzs31mw", + "model": "black-forest-labs/flux-canny-pro", + "version": "a2750efea69468f91ab96215343d44dda478e0a91d8822863760b469ad7bc587", + "status": "succeeded", + "input": { + "steps": 28, + "prompt": "a photo of a car on a city street", + "guidance": 25, + "control_image": "https://replicate.delivery/pbxt/M0j11UQhwUWoxUQ9hJCOaALsAHTeoPZcGGtUf6n3BJxtKHul/output-14.webp", + "output_format": "jpg", + "safety_tolerance": 2, + "prompt_upsampling": false + }, + "output": "https://replicate.delivery/czjl/yRS3V6IYC877GF3DnejR0WJvcz5eg6LTlbE3cJPC6CJQqMzTA/tmp8gs0wfw3.jpg", + "logs": "Using seed: 53733\nRunning prediction... \nGenerating image...\nGenerated image in 14.5sec\nDownloaded image in 1.40sec", + "error": null, + "metrics": { + "image_count": 1, + "predict_time": 16.036791085, + "total_time": 16.044827 + }, + "created_at": "2024-11-21T11:24:48.660000Z", + "started_at": "2024-11-21T11:24:48.668036Z", + "completed_at": "2024-11-21T11:25:04.704827Z", + "urls": { + "stream": "https://stream.replicate.com/v1/files/fddq-foxc6zmifshy4725kufggyzl7frq3li2yve6qt24tzeq2txszq3q", + "get": "https://api.replicate.com/v1/predictions/py9k3fdpjhrg80ck9svtzs31mw", + "cancel": "https://api.replicate.com/v1/predictions/py9k3fdpjhrg80ck9svtzs31mw/cancel" + } + }, + "latest_version": { + "id": "b0a59442583d6a8946e4766836f11b8d3fc516fe847c22cf11309c5f0a792111", + "created_at": "2024-11-25T15:39:30.251229+00:00", + "cog_version": "0.10.0-alpha25", + "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", + "required": [ + "prompt", + "control_image" + ], + "properties": { + "seed": { + "type": "integer", + "title": "Seed", + "x-order": 2, + "description": "Random seed. Set for reproducible generation" + }, + "steps": { + "type": "integer", + "title": "Steps", + "default": 50, + "maximum": 50, + "minimum": 15, + "x-order": 3, + "description": "Number of diffusion steps. Higher values yield finer details but increase processing time." + }, + "prompt": { + "type": "string", + "title": "Prompt", + "x-order": 0, + "description": "Text prompt for image generation" + }, + "guidance": { + "type": "number", + "title": "Guidance", + "default": 30, + "maximum": 50, + "minimum": 1, + "x-order": 5, + "description": "Controls the balance between adherence to the text as well as image prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt." + }, + "control_image": { + "type": "string", + "title": "Control Image", + "format": "uri", + "x-order": 1, + "description": "Image to use as control input. Must be jpeg, png, gif, or webp." + }, + "output_format": { + "allOf": [ + { + "$ref": "#/components/schemas/output_format" + } + ], + "default": "jpg", + "x-order": 7, + "description": "Format of the output images." + }, + "safety_tolerance": { + "type": "integer", + "title": "Safety Tolerance", + "default": 2, + "maximum": 6, + "minimum": 1, + "x-order": 6, + "description": "Safety tolerance, 1 is most strict and 6 is most permissive" + }, + "prompt_upsampling": { + "type": "boolean", + "title": "Prompt Upsampling", + "default": false, + "x-order": 4, + "description": "Automatically modify the prompt for more creative generation" + } + } + }, + "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." + }, + "output_format": { + "enum": [ + "jpg", + "png" + ], + "type": "string", + "title": "output_format", + "description": "An enumeration." + }, + "ValidationError": { + "type": "object", + "title": "ValidationError", + "required": [ + "loc", + "msg", + "type" + ], + "properties": { + "loc": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + } + } + }, + "PredictionRequest": { + "type": "object", + "title": "PredictionRequest", + "properties": { + "id": { + "type": "string", + "title": "Id" + }, + "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" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/schemas/black-forest-labs_flux-depth-dev.json b/schemas/black-forest-labs_flux-depth-dev.json new file mode 100644 index 0000000..459288b --- /dev/null +++ b/schemas/black-forest-labs_flux-depth-dev.json @@ -0,0 +1,552 @@ +{ + "url": "https://replicate.com/black-forest-labs/flux-depth-dev", + "owner": "black-forest-labs", + "name": "flux-depth-dev", + "description": "Open-weight depth-aware image generation. Edit images while preserving spatial relationships.", + "visibility": "public", + "github_url": null, + "paper_url": null, + "license_url": "https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev", + "run_count": 0, + "cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/4cfef8f5-5fcb-413c-bdaa-d6d4f41e5930/flux-depth-dev.jpg", + "default_example": { + "id": "bfpjneq0f1rme0ck9wy8xdj014", + "model": "black-forest-labs/flux-depth-dev", + "version": "a12dd4e72fcefa5a7deb871c63f2a4afe89dccf36bbd7a7fadaedb75568b86a2", + "status": "succeeded", + "input": { + "prompt": "A tropical beach", + "guidance": 10, + "megapixels": "1", + "num_outputs": 1, + "control_image": "https://replicate.delivery/pbxt/M0mJ4lphqO0HOGDb7jwYb4nMjmn0fh3joS0PxeQ90TPN0Skb/IMG_2270.jpg", + "output_format": "webp", + "output_quality": 80, + "num_inference_steps": 28 + }, + "output": [ + "https://replicate.delivery/xezq/JnlhyMG4GD6uEpGsfoXVG7wc8pIvQ3UtfRRhyef2aXkQQfZeE/out-0.webp" + ], + "logs": "running bf16 model, fp8 disabled\nUsing seed: 58064\n0it [00:00, ?it/s]\n1it [00:00, 6.69it/s]\n2it [00:00, 5.43it/s]\n3it [00:00, 5.12it/s]\n4it [00:00, 4.98it/s]\n5it [00:00, 4.89it/s]\n6it [00:01, 4.82it/s]\n7it [00:01, 4.79it/s]\n8it [00:01, 4.78it/s]\n9it [00:01, 4.78it/s]\n10it [00:02, 4.76it/s]\n11it [00:02, 4.75it/s]\n12it [00:02, 4.75it/s]\n13it [00:02, 4.76it/s]\n14it [00:02, 4.76it/s]\n15it [00:03, 4.74it/s]\n16it [00:03, 4.73it/s]\n17it [00:03, 4.74it/s]\n18it [00:03, 4.74it/s]\n19it [00:03, 4.75it/s]\n20it [00:04, 4.75it/s]\n21it [00:04, 4.74it/s]\n22it [00:04, 4.74it/s]\n23it [00:04, 4.74it/s]\n24it [00:04, 4.74it/s]\n25it [00:05, 4.74it/s]\n26it [00:05, 4.74it/s]\n27it [00:05, 4.74it/s]\n28it [00:05, 4.75it/s]\n28it [00:05, 4.80it/s]\nTotal safe images: 1 out of 1", + "error": null, + "metrics": { + "image_count": 1, + "predict_time": 10.590404969, + "total_time": 10.601146 + }, + "created_at": "2024-11-21T15:00:09.976000Z", + "started_at": "2024-11-21T15:00:09.986741Z", + "completed_at": "2024-11-21T15:00:20.577146Z", + "urls": { + "stream": "https://stream.replicate.com/v1/files/bcwr-7brw2myhdndib5siqoz6hdynxdx7pnke4y5dmcb5uy62qdqqcddq", + "get": "https://api.replicate.com/v1/predictions/bfpjneq0f1rme0ck9wy8xdj014", + "cancel": "https://api.replicate.com/v1/predictions/bfpjneq0f1rme0ck9wy8xdj014/cancel" + } + }, + "latest_version": { + "id": "6c9c6d40f94361ad4e4aa537e3165770a83254c7f8e93f4b72c9c04287a4e4f5", + "created_at": "2024-11-21T13:35:57.732973+00:00", + "cog_version": "0.9.21", + "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", + "control_image" + ], + "properties": { + "seed": { + "type": "integer", + "title": "Seed", + "x-order": 5, + "description": "Random seed. Set for reproducible generation" + }, + "prompt": { + "type": "string", + "title": "Prompt", + "x-order": 0, + "description": "Prompt for generated image" + }, + "guidance": { + "type": "number", + "title": "Guidance", + "default": 10, + "maximum": 100, + "minimum": 0, + "x-order": 4, + "description": "Guidance for generated image" + }, + "megapixels": { + "allOf": [ + { + "$ref": "#/components/schemas/megapixels" + } + ], + "default": "1", + "x-order": 9, + "description": "Approximate number of megapixels for generated image. Use match_input to match the size of the input (with an upper limit of 1440x1440 pixels)" + }, + "num_outputs": { + "type": "integer", + "title": "Num Outputs", + "default": 1, + "maximum": 4, + "minimum": 1, + "x-order": 2, + "description": "Number of outputs to generate" + }, + "control_image": { + "type": "string", + "title": "Control Image", + "format": "uri", + "x-order": 1, + "description": "Image used to control the generation. The depth map will be automatically generated." + }, + "output_format": { + "allOf": [ + { + "$ref": "#/components/schemas/output_format" + } + ], + "default": "webp", + "x-order": 6, + "description": "Format of the output images" + }, + "output_quality": { + "type": "integer", + "title": "Output Quality", + "default": 80, + "maximum": 100, + "minimum": 0, + "x-order": 7, + "description": "Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs" + }, + "num_inference_steps": { + "type": "integer", + "title": "Num Inference Steps", + "default": 28, + "maximum": 50, + "minimum": 1, + "x-order": 3, + "description": "Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster." + }, + "disable_safety_checker": { + "type": "boolean", + "title": "Disable Safety Checker", + "default": false, + "x-order": 8, + "description": "Disable safety checker for generated images." + } + } + }, + "Output": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "title": "Output" + }, + "Status": { + "enum": [ + "starting", + "processing", + "succeeded", + "canceled", + "failed" + ], + "type": "string", + "title": "Status", + "description": "An enumeration." + }, + "megapixels": { + "enum": [ + "1", + "0.25", + "match_input" + ], + "type": "string", + "title": "megapixels", + "description": "An enumeration." + }, + "WebhookEvent": { + "enum": [ + "start", + "output", + "logs", + "completed" + ], + "type": "string", + "title": "WebhookEvent", + "description": "An enumeration." + }, + "output_format": { + "enum": [ + "webp", + "jpg", + "png" + ], + "type": "string", + "title": "output_format", + "description": "An enumeration." + }, + "ValidationError": { + "type": "object", + "title": "ValidationError", + "required": [ + "loc", + "msg", + "type" + ], + "properties": { + "loc": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + } + } + }, + "PredictionRequest": { + "type": "object", + "title": "PredictionRequest", + "properties": { + "id": { + "type": "string", + "title": "Id" + }, + "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" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/schemas/black-forest-labs_flux-depth-pro.json b/schemas/black-forest-labs_flux-depth-pro.json new file mode 100644 index 0000000..561c036 --- /dev/null +++ b/schemas/black-forest-labs_flux-depth-pro.json @@ -0,0 +1,534 @@ +{ + "url": "https://replicate.com/black-forest-labs/flux-depth-pro", + "owner": "black-forest-labs", + "name": "flux-depth-pro", + "description": "Professional depth-aware image generation. Edit images while preserving spatial relationships.", + "visibility": "public", + "github_url": null, + "paper_url": null, + "license_url": "https://replicate.com/black-forest-labs/flux-depth-pro#license", + "run_count": 0, + "cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/e365ecff-4023-49f8-96ba-abd710c4bdd9/https___replicate.deliver_xWYu8lC.jpg", + "default_example": { + "id": "vvnr81nssdrg80ck9ssbhw7fkc", + "model": "black-forest-labs/flux-depth-pro", + "version": "51e1ce15b7daba582cff14aada2f03d7ac490f9ee7425cb10c82b9884ac7af74", + "status": "succeeded", + "input": { + "steps": 50, + "prompt": "abstract 3D render with the word \"DEPTH\"", + "guidance": 7, + "control_image": "https://replicate.delivery/pbxt/M0ivr5QCMktmdUi3t0TFrKtw3DSPenPTU5NAOEKjTfW98HaB/https___replicate.delivery_czjl_z4gE33oPjuLPB91f9eO5Np4zaqwm20UYPOZhjpTfXRJVzYmnA_tmppi3by3z7.jpg", + "output_format": "jpg", + "safety_tolerance": 2, + "prompt_upsampling": false + }, + "output": "https://replicate.delivery/czjl/YmnJr3uJFwaLHpyE2YQZEsGD6DsN3h6opElksQJ4UUzUJz8E/tmp_zp5p3b2.jpg", + "logs": "Using seed: 57786\nRunning prediction... \nGenerating image...\nGenerated image in 23.7sec\nDownloaded image in 1.65sec", + "error": null, + "metrics": { + "image_count": 1, + "predict_time": 25.565086614, + "total_time": 25.57423 + }, + "created_at": "2024-11-21T11:19:21.803000Z", + "started_at": "2024-11-21T11:19:21.812143Z", + "completed_at": "2024-11-21T11:19:47.377230Z", + "urls": { + "stream": "https://stream.replicate.com/v1/files/fddq-lwepnb4bb32saq4cqh2rbpks6gvf2gtblsuqackz5bwyobhg7eiq", + "get": "https://api.replicate.com/v1/predictions/vvnr81nssdrg80ck9ssbhw7fkc", + "cancel": "https://api.replicate.com/v1/predictions/vvnr81nssdrg80ck9ssbhw7fkc/cancel" + } + }, + "latest_version": { + "id": "c86388b54d5d9eea8c9cfb70a7ee0d40a55c7a3010ecec8e14c21c9bd64d3af8", + "created_at": "2024-11-25T15:40:17.244514+00:00", + "cog_version": "0.10.0-alpha25", + "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", + "required": [ + "prompt", + "control_image" + ], + "properties": { + "seed": { + "type": "integer", + "title": "Seed", + "x-order": 2, + "description": "Random seed. Set for reproducible generation" + }, + "steps": { + "type": "integer", + "title": "Steps", + "default": 50, + "maximum": 50, + "minimum": 15, + "x-order": 3, + "description": "Number of diffusion steps. Higher values yield finer details but increase processing time." + }, + "prompt": { + "type": "string", + "title": "Prompt", + "x-order": 0, + "description": "Text prompt for image generation" + }, + "guidance": { + "type": "number", + "title": "Guidance", + "default": 10, + "maximum": 50, + "minimum": 1, + "x-order": 5, + "description": "Controls the balance between adherence to the text as well as image prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt." + }, + "control_image": { + "type": "string", + "title": "Control Image", + "format": "uri", + "x-order": 1, + "description": "Image to use as control input. Must be jpeg, png, gif, or webp." + }, + "output_format": { + "allOf": [ + { + "$ref": "#/components/schemas/output_format" + } + ], + "default": "jpg", + "x-order": 7, + "description": "Format of the output images." + }, + "safety_tolerance": { + "type": "integer", + "title": "Safety Tolerance", + "default": 2, + "maximum": 6, + "minimum": 1, + "x-order": 6, + "description": "Safety tolerance, 1 is most strict and 6 is most permissive" + }, + "prompt_upsampling": { + "type": "boolean", + "title": "Prompt Upsampling", + "default": false, + "x-order": 4, + "description": "Automatically modify the prompt for more creative generation" + } + } + }, + "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." + }, + "output_format": { + "enum": [ + "jpg", + "png" + ], + "type": "string", + "title": "output_format", + "description": "An enumeration." + }, + "ValidationError": { + "type": "object", + "title": "ValidationError", + "required": [ + "loc", + "msg", + "type" + ], + "properties": { + "loc": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + } + } + }, + "PredictionRequest": { + "type": "object", + "title": "PredictionRequest", + "properties": { + "id": { + "type": "string", + "title": "Id" + }, + "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" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/schemas/black-forest-labs_flux-fill-dev.json b/schemas/black-forest-labs_flux-fill-dev.json new file mode 100644 index 0000000..dfefa6e --- /dev/null +++ b/schemas/black-forest-labs_flux-fill-dev.json @@ -0,0 +1,559 @@ +{ + "url": "https://replicate.com/black-forest-labs/flux-fill-dev", + "owner": "black-forest-labs", + "name": "flux-fill-dev", + "description": "Open-weight inpainting model for editing and extending images. Guidance-distilled from FLUX.1 Fill [pro].", + "visibility": "public", + "github_url": null, + "paper_url": null, + "license_url": "https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev", + "run_count": 0, + "cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/b109cc9e-f3c2-4899-8428-df46a988c3f0/https___replicate.deliver_tmlMO9j.jpg", + "default_example": { + "id": "nbhx3kj26srm80ck9rwbscz1q0", + "model": "black-forest-labs/flux-fill-dev", + "version": "871893dd5c29737ee18252f66c802505a00791c30fc07d9c9289618d8f9a9718", + "status": "succeeded", + "input": { + "mask": "https://replicate.delivery/pbxt/M0hxLu8a1YBcybWuumSsfoEec8ooer6JZ2fR28vuM1U0CN9m/74b40bb1-364a-461a-bec5-200a38c7bc87.png", + "image": "https://replicate.delivery/pbxt/M0hxMJeO7wFCMr7QYNZsjRxzHhz6ntlLllMteRQNsRD7f3Nf/flux-fill-dev.webp", + "prompt": "a spaceship", + "guidance": 30, + "num_outputs": 1, + "output_format": "webp", + "output_quality": 80, + "num_inference_steps": 28 + }, + "output": [ + "https://replicate.delivery/xezq/XAOCdYKsGYZ9FNTeeEQPbl8DM9eoDf050jLfSAZMuWVYJdZeE/out-0.webp" + ], + "logs": "running bf16 model, fp8 disabled\nUsing seed: 12554\nInput image size: 1024x1024\nInput image size set to: 1024x1024\n0it [00:00, ?it/s]\n1it [00:00, 6.43it/s]\n2it [00:00, 5.21it/s]\n3it [00:00, 4.91it/s]\n4it [00:00, 4.78it/s]\n5it [00:01, 4.71it/s]\n6it [00:01, 4.67it/s]\n7it [00:01, 4.63it/s]\n8it [00:01, 4.62it/s]\n9it [00:01, 4.61it/s]\n10it [00:02, 4.60it/s]\n11it [00:02, 4.60it/s]\n12it [00:02, 4.60it/s]\n13it [00:02, 4.59it/s]\n14it [00:02, 4.59it/s]\n15it [00:03, 4.59it/s]\n16it [00:03, 4.59it/s]\n17it [00:03, 4.58it/s]\n18it [00:03, 4.58it/s]\n19it [00:04, 4.57it/s]\n20it [00:04, 4.57it/s]\n21it [00:04, 4.57it/s]\n22it [00:04, 4.57it/s]\n23it [00:04, 4.57it/s]\n24it [00:05, 4.57it/s]\n25it [00:05, 4.58it/s]\n26it [00:05, 4.58it/s]\n27it [00:05, 4.58it/s]\n28it [00:06, 4.57it/s]\n28it [00:06, 4.63it/s]\nTotal safe images: 1 out of 1", + "error": null, + "metrics": { + "image_count": 1, + "predict_time": 9.544116396, + "total_time": 9.554881 + }, + "created_at": "2024-11-21T10:15:30.102000Z", + "started_at": "2024-11-21T10:15:30.112765Z", + "completed_at": "2024-11-21T10:15:39.656881Z", + "urls": { + "stream": "https://stream.replicate.com/v1/files/bcwr-ocdi6wafsezivgg6gtokmxu4rhvv4bhdhbx6vsomy7p2s5jxrq5q", + "get": "https://api.replicate.com/v1/predictions/nbhx3kj26srm80ck9rwbscz1q0", + "cancel": "https://api.replicate.com/v1/predictions/nbhx3kj26srm80ck9rwbscz1q0/cancel" + } + }, + "latest_version": { + "id": "a66f7be50c6ab5c9fca9af82a73034a5413143fd18f28e0aab5657b116123180", + "created_at": "2024-11-21T13:30:27.071078+00:00", + "cog_version": "0.9.21", + "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", + "image" + ], + "properties": { + "mask": { + "type": "string", + "title": "Mask", + "format": "uri", + "x-order": 2, + "description": "A black-and-white image that describes the part of the image to inpaint. Black areas will be preserved while white areas will be inpainted." + }, + "seed": { + "type": "integer", + "title": "Seed", + "x-order": 6, + "description": "Random seed. Set for reproducible generation" + }, + "image": { + "type": "string", + "title": "Image", + "format": "uri", + "x-order": 1, + "description": "The image to inpaint. Can contain alpha mask. If the image width or height are not multiples of 32, they will be scaled to the closest multiple of 32. If the image dimensions don't fit within 1440x1440, it will be scaled down to fit." + }, + "prompt": { + "type": "string", + "title": "Prompt", + "x-order": 0, + "description": "Prompt for generated image" + }, + "guidance": { + "type": "number", + "title": "Guidance", + "default": 30, + "maximum": 100, + "minimum": 0, + "x-order": 5, + "description": "Guidance for generated image" + }, + "megapixels": { + "allOf": [ + { + "$ref": "#/components/schemas/megapixels" + } + ], + "default": "1", + "x-order": 7, + "description": "Approximate number of megapixels for generated image. Use match_input to match the size of the input (with an upper limit of 1440x1440 pixels)" + }, + "num_outputs": { + "type": "integer", + "title": "Num Outputs", + "default": 1, + "maximum": 4, + "minimum": 1, + "x-order": 3, + "description": "Number of outputs to generate" + }, + "output_format": { + "allOf": [ + { + "$ref": "#/components/schemas/output_format" + } + ], + "default": "webp", + "x-order": 8, + "description": "Format of the output images" + }, + "output_quality": { + "type": "integer", + "title": "Output Quality", + "default": 80, + "maximum": 100, + "minimum": 0, + "x-order": 9, + "description": "Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs" + }, + "num_inference_steps": { + "type": "integer", + "title": "Num Inference Steps", + "default": 28, + "maximum": 50, + "minimum": 1, + "x-order": 4, + "description": "Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster." + }, + "disable_safety_checker": { + "type": "boolean", + "title": "Disable Safety Checker", + "default": false, + "x-order": 10, + "description": "Disable safety checker for generated images." + } + } + }, + "Output": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "title": "Output" + }, + "Status": { + "enum": [ + "starting", + "processing", + "succeeded", + "canceled", + "failed" + ], + "type": "string", + "title": "Status", + "description": "An enumeration." + }, + "megapixels": { + "enum": [ + "1", + "0.25", + "match_input" + ], + "type": "string", + "title": "megapixels", + "description": "An enumeration." + }, + "WebhookEvent": { + "enum": [ + "start", + "output", + "logs", + "completed" + ], + "type": "string", + "title": "WebhookEvent", + "description": "An enumeration." + }, + "output_format": { + "enum": [ + "webp", + "jpg", + "png" + ], + "type": "string", + "title": "output_format", + "description": "An enumeration." + }, + "ValidationError": { + "type": "object", + "title": "ValidationError", + "required": [ + "loc", + "msg", + "type" + ], + "properties": { + "loc": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + } + } + }, + "PredictionRequest": { + "type": "object", + "title": "PredictionRequest", + "properties": { + "id": { + "type": "string", + "title": "Id" + }, + "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" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/schemas/black-forest-labs_flux-fill-pro.json b/schemas/black-forest-labs_flux-fill-pro.json new file mode 100644 index 0000000..08695f5 --- /dev/null +++ b/schemas/black-forest-labs_flux-fill-pro.json @@ -0,0 +1,542 @@ +{ + "url": "https://replicate.com/black-forest-labs/flux-fill-pro", + "owner": "black-forest-labs", + "name": "flux-fill-pro", + "description": "Professional inpainting and outpainting model with state-of-the-art performance. Edit or extend images with natural, seamless results.", + "visibility": "public", + "github_url": null, + "paper_url": null, + "license_url": "https://replicate.com/black-forest-labs/flux-fill-pro#license", + "run_count": 0, + "cover_image_url": "https://tjzk.replicate.delivery/models_models_featured_image/13571f4b-d677-404f-bff0-ad44da9d5fa0/https___replicate.deli_llwvezd.jpg", + "default_example": { + "id": "re6v81wt5srg80ck9qt82f8rrr", + "model": "black-forest-labs/flux-fill-pro", + "version": "a806bd8e44101af3641b8df37ce010c0c698673591032996618f2d2fc998bfad", + "status": "succeeded", + "input": { + "mask": "https://replicate.delivery/pbxt/M0gpLCYdCLbnhcz95Poy66q30XW9VSCN65DoDQ8IzdzlQonw/kill-bill-mask.png", + "image": "https://replicate.delivery/pbxt/M0gpKVE9wmEtOQFNDOpwz1uGs0u6nK2NcE85IihwlN0ZEnMF/kill-bill-poster.jpg", + "steps": 50, + "prompt": "movie poster says \"FLUX FILL\"", + "guidance": 3, + "output_format": "jpg", + "safety_tolerance": 2, + "prompt_upsampling": false + }, + "output": "https://replicate.delivery/czjl/xYw7Hzrneekwuk34N4yCTwEseVGmZ4Auofl3fgezk8PheRl5JA/tmpczng69kq.jpg", + "logs": "Using seed: 23628\nRunning prediction... \nGenerating image...\nGenerated image in 9.0sec\nDownloaded image in 1.14sec", + "error": null, + "metrics": { + "image_count": 1, + "predict_time": 10.385547055, + "total_time": 10.393524 + }, + "created_at": "2024-11-21T09:01:36.174000Z", + "started_at": "2024-11-21T09:01:36.181977Z", + "completed_at": "2024-11-21T09:01:46.567524Z", + "urls": { + "stream": "https://stream.replicate.com/v1/files/fddq-bhz3quatsagg6mdanr6exdtpyewwpge3jvlkme546eqtjmky6p6q", + "get": "https://api.replicate.com/v1/predictions/re6v81wt5srg80ck9qt82f8rrr", + "cancel": "https://api.replicate.com/v1/predictions/re6v81wt5srg80ck9qt82f8rrr/cancel" + } + }, + "latest_version": { + "id": "73176b190b79b8e68d5c58430795879ff6115d9d3a57c2f47c5db444723326a0", + "created_at": "2024-11-25T15:38:43.682357+00:00", + "cog_version": "0.10.0-alpha25", + "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", + "required": [ + "prompt", + "image" + ], + "properties": { + "mask": { + "type": "string", + "title": "Mask", + "format": "uri", + "x-order": 2, + "description": "A black-and-white image that describes the part of the image to inpaint. Black areas will be preserved while white areas will be inpainted. Must have the same size as image. Optional if you provide an alpha mask in the original image. Must be jpeg, png, gif, or webp." + }, + "seed": { + "type": "integer", + "title": "Seed", + "x-order": 3, + "description": "Random seed. Set for reproducible generation" + }, + "image": { + "type": "string", + "title": "Image", + "format": "uri", + "x-order": 1, + "description": "The image to inpaint. Can contain an alpha mask. Must be jpeg, png, gif, or webp." + }, + "steps": { + "type": "integer", + "title": "Steps", + "default": 50, + "maximum": 50, + "minimum": 1, + "x-order": 4, + "description": "Number of diffusion steps. Higher values yield finer details but increase processing time." + }, + "prompt": { + "type": "string", + "title": "Prompt", + "x-order": 0, + "description": "Text prompt for image generation" + }, + "guidance": { + "type": "number", + "title": "Guidance", + "default": 3, + "maximum": 5, + "minimum": 2, + "x-order": 6, + "description": "Controls the balance between adherence to the text prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt." + }, + "output_format": { + "allOf": [ + { + "$ref": "#/components/schemas/output_format" + } + ], + "default": "jpg", + "x-order": 8, + "description": "Format of the output images." + }, + "safety_tolerance": { + "type": "integer", + "title": "Safety Tolerance", + "default": 2, + "maximum": 6, + "minimum": 1, + "x-order": 7, + "description": "Safety tolerance, 1 is most strict and 6 is most permissive" + }, + "prompt_upsampling": { + "type": "boolean", + "title": "Prompt Upsampling", + "default": false, + "x-order": 5, + "description": "Automatically modify the prompt for more creative generation" + } + } + }, + "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." + }, + "output_format": { + "enum": [ + "jpg", + "png" + ], + "type": "string", + "title": "output_format", + "description": "An enumeration." + }, + "ValidationError": { + "type": "object", + "title": "ValidationError", + "required": [ + "loc", + "msg", + "type" + ], + "properties": { + "loc": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + } + } + }, + "PredictionRequest": { + "type": "object", + "title": "PredictionRequest", + "properties": { + "id": { + "type": "string", + "title": "Id" + }, + "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" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/schemas/black-forest-labs_flux-redux-dev.json b/schemas/black-forest-labs_flux-redux-dev.json new file mode 100644 index 0000000..26d00c5 --- /dev/null +++ b/schemas/black-forest-labs_flux-redux-dev.json @@ -0,0 +1,569 @@ +{ + "url": "https://replicate.com/black-forest-labs/flux-redux-dev", + "owner": "black-forest-labs", + "name": "flux-redux-dev", + "description": "Open-weight image variation model. Create new versions while preserving key elements of your original.", + "visibility": "public", + "github_url": null, + "paper_url": null, + "license_url": "https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev", + "run_count": 0, + "cover_image_url": "https://tjzk.replicate.delivery/models_models_featured_image/daff59ba-540d-4111-a969-9119ee814f26/redux-cover.jpg", + "default_example": { + "id": "syf1t20h0hrmc0ck9x8rbdjybc", + "model": "black-forest-labs/flux-redux-dev", + "version": "df70f0bb7bb2e67417eebd79db0a9958c51c87d16cba6dc618903103b04ccd4c", + "status": "succeeded", + "input": { + "guidance": 3, + "megapixels": "1", + "num_outputs": 1, + "redux_image": "https://replicate.delivery/pbxt/M0mdz2nXiUmhpfLswjNdEHT3IhGtclUz7Q1sCw3XiHXzUugT/0_ZjYSm_q36J4KChdn.webp", + "aspect_ratio": "4:3", + "output_format": "webp", + "output_quality": 80, + "num_inference_steps": 28 + }, + "output": [ + "https://replicate.delivery/xezq/Oaex1FdP2ayjUSrbBrYA1WXnGJlu2ESnk71anWxs4OGWEo5JA/out-0.webp" + ], + "logs": "running bf16 model, fp8 disabled\nUsing seed: 61735\n0it [00:00, ?it/s]\n1it [00:00, 6.93it/s]\n2it [00:00, 4.80it/s]\n3it [00:00, 4.38it/s]\n4it [00:00, 4.18it/s]\n5it [00:01, 4.06it/s]\n6it [00:01, 4.02it/s]\n7it [00:01, 4.00it/s]\n8it [00:01, 3.97it/s]\n9it [00:02, 3.94it/s]\n10it [00:02, 3.93it/s]\n11it [00:02, 3.94it/s]\n12it [00:02, 3.93it/s]\n13it [00:03, 3.92it/s]\n14it [00:03, 3.92it/s]\n15it [00:03, 3.92it/s]\n16it [00:03, 3.92it/s]\n17it [00:04, 3.91it/s]\n18it [00:04, 3.92it/s]\n19it [00:04, 3.92it/s]\n20it [00:04, 3.91it/s]\n21it [00:05, 3.91it/s]\n22it [00:05, 3.91it/s]\n23it [00:05, 3.92it/s]\n24it [00:06, 3.92it/s]\n25it [00:06, 3.91it/s]\n26it [00:06, 3.92it/s]\n27it [00:06, 3.91it/s]\n28it [00:07, 3.91it/s]\n28it [00:07, 3.98it/s]\nTotal safe images: 1 out of 1", + "error": null, + "metrics": { + "image_count": 1, + "predict_time": 7.522483329, + "total_time": 7.530364 + }, + "created_at": "2024-11-21T15:22:13.124000Z", + "started_at": "2024-11-21T15:22:13.131880Z", + "completed_at": "2024-11-21T15:22:20.654364Z", + "urls": { + "stream": "https://stream.replicate.com/v1/files/bcwr-oy3eifiybhx5ctwbbpkrx457d2pvmwzp47jsxxvfojeh6n4pu4fa", + "get": "https://api.replicate.com/v1/predictions/syf1t20h0hrmc0ck9x8rbdjybc", + "cancel": "https://api.replicate.com/v1/predictions/syf1t20h0hrmc0ck9x8rbdjybc/cancel" + } + }, + "latest_version": { + "id": "0e522c0b709bd26a0727a7b7c38391e50cef5ef4016550c93fdd29a72d147981", + "created_at": "2024-11-21T07:09:26.194976+00:00", + "cog_version": "0.9.21", + "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": 5, + "description": "Random seed. Set for reproducible generation" + }, + "guidance": { + "type": "number", + "title": "Guidance", + "default": 3, + "maximum": 10, + "minimum": 0, + "x-order": 4, + "description": "Guidance for generated image" + }, + "megapixels": { + "allOf": [ + { + "$ref": "#/components/schemas/megapixels" + } + ], + "default": "1", + "x-order": 9, + "description": "Approximate number of megapixels for generated image" + }, + "num_outputs": { + "type": "integer", + "title": "Num Outputs", + "default": 1, + "maximum": 4, + "minimum": 1, + "x-order": 2, + "description": "Number of outputs to generate" + }, + "redux_image": { + "type": "string", + "title": "Redux Image", + "format": "uri", + "x-order": 0, + "description": "Input image to condition your output on. This replaces prompt for FLUX.1 Redux models" + }, + "aspect_ratio": { + "allOf": [ + { + "$ref": "#/components/schemas/aspect_ratio" + } + ], + "default": "1:1", + "x-order": 1, + "description": "Aspect ratio for the generated image" + }, + "output_format": { + "allOf": [ + { + "$ref": "#/components/schemas/output_format" + } + ], + "default": "webp", + "x-order": 6, + "description": "Format of the output images" + }, + "output_quality": { + "type": "integer", + "title": "Output Quality", + "default": 80, + "maximum": 100, + "minimum": 0, + "x-order": 7, + "description": "Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs" + }, + "num_inference_steps": { + "type": "integer", + "title": "Num Inference Steps", + "default": 28, + "maximum": 50, + "minimum": 1, + "x-order": 3, + "description": "Number of denoising steps. Recommended range is 28-50" + }, + "disable_safety_checker": { + "type": "boolean", + "title": "Disable Safety Checker", + "default": false, + "x-order": 8, + "description": "Disable safety checker for generated images." + } + } + }, + "Output": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "title": "Output" + }, + "Status": { + "enum": [ + "starting", + "processing", + "succeeded", + "canceled", + "failed" + ], + "type": "string", + "title": "Status", + "description": "An enumeration." + }, + "megapixels": { + "enum": [ + "1", + "0.25" + ], + "type": "string", + "title": "megapixels", + "description": "An enumeration." + }, + "WebhookEvent": { + "enum": [ + "start", + "output", + "logs", + "completed" + ], + "type": "string", + "title": "WebhookEvent", + "description": "An enumeration." + }, + "aspect_ratio": { + "enum": [ + "1:1", + "16:9", + "21:9", + "3:2", + "2:3", + "4:5", + "5:4", + "3:4", + "4:3", + "9:16", + "9:21" + ], + "type": "string", + "title": "aspect_ratio", + "description": "An enumeration." + }, + "output_format": { + "enum": [ + "webp", + "jpg", + "png" + ], + "type": "string", + "title": "output_format", + "description": "An enumeration." + }, + "ValidationError": { + "type": "object", + "title": "ValidationError", + "required": [ + "loc", + "msg", + "type" + ], + "properties": { + "loc": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + } + } + }, + "PredictionRequest": { + "type": "object", + "title": "PredictionRequest", + "properties": { + "id": { + "type": "string", + "title": "Id" + }, + "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" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/schemas/ideogram-ai_ideogram-v2-turbo.json b/schemas/ideogram-ai_ideogram-v2-turbo.json index 99e88dc..13f658f 100644 --- a/schemas/ideogram-ai_ideogram-v2-turbo.json +++ b/schemas/ideogram-ai_ideogram-v2-turbo.json @@ -657,4 +657,4 @@ } } } -} +} \ No newline at end of file diff --git a/schemas/ideogram-ai_ideogram-v2.json b/schemas/ideogram-ai_ideogram-v2.json index 3598fda..8199d06 100644 --- a/schemas/ideogram-ai_ideogram-v2.json +++ b/schemas/ideogram-ai_ideogram-v2.json @@ -657,4 +657,4 @@ } } } -} +} \ No newline at end of file diff --git a/supported_models.json b/supported_models.json index 3cbb35f..ea17cdb 100644 --- a/supported_models.json +++ b/supported_models.json @@ -11,6 +11,13 @@ "black-forest-labs/flux-pro", "black-forest-labs/flux-1.1-pro", "black-forest-labs/flux-schnell", + "black-forest-labs/flux-depth-pro", + "black-forest-labs/flux-canny-pro", + "black-forest-labs/flux-fill-pro", + "black-forest-labs/flux-redux-dev", + "black-forest-labs/flux-depth-dev", + "black-forest-labs/flux-canny-dev", + "black-forest-labs/flux-fill-dev", "cjwbw/hyper-sdxl-1step-t2i", "cjwbw/pixart-sigma", "cjwbw/seamless_communication",