Commit fd2132ba authored by Your Name's avatar Your Name

Initial commit

parents
Pipeline #733 failed with stages
# Introduction
## Realize Countless Imaginations Just One Way
No hardware required, with AIGIC, you can run and adjust various types of artificial intelligence models in minutes, and copy the code into your own project.
## With AIGIC You Can
### Always Use Ai Open-source Models
You don't need expensive GPUs and hardware, you can run over 1000 open-source models on AIGIC at any time and copy the code into your own project.
### Fine Tune The Model
You can use the parameters you need to adjust the model and create a model that better suits your needs, such as an image model with a specific style or a language model that completes specific tasks.
### Deploy Custom Ai Models
In addition to the models in the existing model library, you can also deploy your own custom models, which are stored on cloud servers and you only need to pay fees when using them.
## Why Choose To Use AIGIC
### The Lowest Usage Price
AIGIC utilizes the most advanced aggregated AI comput-ing network, which not only provides users with a fast AI model experience but also greatly reduces their usage costs.
### Full Encryption To Protect Privacy
AIGIC uses advanced models and data transmission encryption technology to protect user model data and copyright, as well as user privacy and trade secrets.
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predict-predictions-post
title: "Predict"
description: "Run a single prediction on the model"
sidebar_label: "Predict"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNNG2tdvH1qtcueFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcg5PimFb+aZkJpYJTsS86UPhTh2hvdeYFINUs1fqRZFvPAKBncKjR+56lgzhKKn5qoLsC000RmoIpEQgLMyh5YyiSC0pwplOdplhszzW2Kfln9Ec1j4PD80SP/Mcg3LVIbACppwjSTxqANgDOnuU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Jto9QwsYa3Su5jJI2AJA4R6CnkowN4gnTuUyJCfFlieO1EyDGNJZgg/Gkg+2647C5WphycyN1NI7tdsRWLICxJ2Qd/I5aHtMWmaupygO4WlWNPBMiZjQtjv4OcUOOWLdpQ7RuVC0n5+F9LWaaN3wu7s0Opzt2Ntt3wrl1Cyf6iaswNHSwv/8fmmjINOWxeeFolqg2QyyCBpWmazccbbvc9vO6di28E0Exujk2KiVdoweJuqnfNyeu13YF1WxUrLb0LnC360rCyuMSJ6HPxg9rynHW5qwPNOahQWcUdl2RBesrG69tJ2ocRxcXZ99V2M5uJWIPlNFZTgDKRJwjY9lSUyAhgoxDC/bq3mqZs14t5WxlBknMwnP28ZtmR5/o/uUXn8qDRXhCD0/56fFtMjn2X3SEEeIEEObCPMztIzyjeg6rAZgeLIeD2jN9QPkA5hsh82QK78gZDBT40MuVzbxiclk4k8sYvYHOpUYDVNUP2bJP+Q0P4LeZcbF4J9WD/3XhRu057h7g5au742X8vz2HWw/E4rVnXlb4nKo/b/BNUz4qiheCncv91rBcTaRbU2tFsONjbWa8Z3Cr98I0EvXjMn57/B40YQps0fl9UIWcmFiIAzK7sjqzSd2eTGuN5qHf7biC0mylB1lMuWnDJvt3rpI+YxEjsKH53qWsJswnNwjuqSiokTmWJGi4u5tRxS5lvNng9hecI2AfPi6p5CiHq02vOD/meccVEiAjEY0V2+Hqo4k7XI/JfR7hIaydRjPswIZpjJb20qp74vpVwdFq15XEGDp+pnfy1o/n2en5BTDP3JdjiblCPUm/YneA3yPvCn7M1202vsBk9qHNw0HKzYTrWb3471//v7fq
sidebar_class_name: "post api-method"
info_path: docs/api/convert/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Predict</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"api/convert/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"api/convert/predict-predictions-post","label":"Predict","className":"api-method post"}]}];
\ No newline at end of file
# Introduction
## Realize Countless Imaginations Just One Way
No hardware required, with AIGIC, you can run and adjust various types of artificial intelligence models in minutes, and copy the code into your own project.
## With AIGIC You Can
### Always Use Ai Open-source Models
You don't need expensive GPUs and hardware, you can run over 1000 open-source models on AIGIC at any time and copy the code into your own project.
### Fine Tune The Model
You can use the parameters you need to adjust the model and create a model that better suits your needs, such as an image model with a specific style or a language model that completes specific tasks.
### Deploy Custom Ai Models
In addition to the models in the existing model library, you can also deploy your own custom models, which are stored on cloud servers and you only need to pay fees when using them.
## Why Choose To Use AIGIC
### The Lowest Usage Price
AIGIC utilizes the most advanced aggregated AI comput-ing network, which not only provides users with a fast AI model experience but also greatly reduces their usage costs.
### Full Encryption To Protect Privacy
AIGIC uses advanced models and data transmission encryption technology to protect user model data and copyright, as well as user privacy and trade secrets.
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1H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3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/all-mpnet-base-v2/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/all-mpnet-base-v2/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/all-mpnet-base-v2/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKM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kba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/animate-diff/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/animate-diff/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/animate-diff/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sideb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T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/any-comfyui-workflow/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/any-comfyui-workflow/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/any-comfyui-workflow/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHG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3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/audio-to-waveform/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/audio-to-waveform/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/audio-to-waveform/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2Zq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NW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/bark/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/bark/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/bark/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9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=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/blip-2/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/blip-2/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/blip-2/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEt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Dd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/blip/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/blip/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/blip/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdD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m2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/clip-features/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/clip-features/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/clip-features/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNsp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kVidg5mnACGX5SFp2AHkoBCaWEfP1E32AMXNFrAFDgrzbR0q3UagFgckxkNFvfQixont3XIHTjj2GiBUgPjeVpwzrXO7FjakgkKGaAUJFg+Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/codeformer/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/codeformer/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/codeformer/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aC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n0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/codellama-7b-instruct-gguf/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/codellama-7b-instruct-gguf/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/codellama-7b-instruct-gguf/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47O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Jx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/controlnet/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/controlnet/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/controlnet/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWq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O7FjakgkKGaAUJFg+Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/deforum_stable_diffusion/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/deforum_stable_diffusion/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/deforum_stable_diffusion/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NGVZyi9ktC7QHDCLXQJlGPGZwoLCIm/QVYqeGSt4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SIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/disco-diffusion/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/disco-diffusion/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/disco-diffusion/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vP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8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/dreamgaussian/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/dreamgaussian/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/dreamgaussian/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXP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ys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/dreamshaper-xl-turbo/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/dreamshaper-xl-turbo/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/dreamshaper-xl-turbo/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
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CmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/ealvisxl-v3-multi-controlnet-lora/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/ealvisxl-v3-multi-controlnet-lora/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/ealvisxl-v3-multi-controlnet-lora/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHG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3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/face-to-sticker/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/face-to-sticker/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/face-to-sticker/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb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SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/gfpgan/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/gfpgan/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/gfpgan/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0h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C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/glid-3-xl/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/glid-3-xl/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/glid-3-xl/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4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6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/imagebind/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/imagebind/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/imagebind/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRl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Umq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/incredibly-fast-whisper/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/incredibly-fast-whisper/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/incredibly-fast-whisper/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTF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v9lTO5JuGsTfkDygGOeqnmNEYGVzVtxpcw3uCEEHHAAkVidg5mnACGX5SFp2AHkoBCaWEfP1E32AMXNFrAFDgrzbR0q3UagFgckxkNFvfQixont3XIHTjj2GiBUgPjeVpwzrXO7FjakgkKGaAUJFg+Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/instant-id/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/instant-id/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/instant-id/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDyk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Wf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/kandinsky-2-1/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/kandinsky-2-1/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/kandinsky-2-1/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwA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PtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/kandinsky-2.2/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/kandinsky-2.2/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/kandinsky-2.2/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2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zbR0q3UagFgckxkNFvfQixont3XIHTjj2GiBUgPjeVpwzrXO7FjakgkKGaAUJFg+Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/kandinsky-2/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/kandinsky-2/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/kandinsky-2/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NGVZyi9ktC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HD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/latent-consistency-model/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/latent-consistency-model/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/latent-consistency-model/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0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lRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-13b-chat-gguf/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/llama-2-13b-chat-gguf/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/llama-2-13b-chat-gguf/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKM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kba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-13b-chat/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/llama-2-13b-chat/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/llama-2-13b-chat/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NGVZyi9ktC7QHDCLXQJlGPGZwoLCIm/QVYqeGSt4AFVqpobYKsmZlYs/Vtp0Nck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jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-70b-chat-gguf/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/llama-2-70b-chat-gguf/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/llama-2-70b-chat-gguf/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPD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nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-70b-chat/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/llama-2-70b-chat/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/llama-2-70b-chat/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQ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kw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-7b-chat/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/llama-2-7b-chat/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/llama-2-7b-chat/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api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mGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llava-13b/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/llava-13b/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/llava-13b/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZ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41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llava-v1.6-34b/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/llava-v1.6-34b/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/llava-v1.6-34b/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1y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yH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/looptest/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/looptest/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/looptest/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1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wVUyf0/3JQ8dD2QBEr6EyUBwYsJNuBqRq6tfsIv9lTO5JuGsTfkDygGOeqnmNEYGVzVtxpcw3uCEEHHAAkVidg5mnACGX5SFp2AHkoBCaWEfP1E32AMXNFrAFDgrzbR0q3UagFgckxkNFvfQixont3XIHTjj2GiBUgPjeVpwzrXO7FjakgkKGaAUJFg+Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/material-diffusion/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/material-diffusion/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/material-diffusion/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XR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sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/minigpt-4/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/minigpt-4/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/minigpt-4/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9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bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/musicgen/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/musicgen/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/musicgen/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPj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BCaWEfP1E32AMXNFrAFDgrzbR0q3UagFgckxkNFvfQixont3XIHTjj2GiBUgPjeVpwzrXO7FjakgkKGaAUJFg+Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/nsfw_image_detection/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/nsfw_image_detection/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/nsfw_image_detection/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3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YUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/open-dalle-v1.1/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/open-dalle-v1.1/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/open-dalle-v1.1/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fed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zkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/photomaker/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/photomaker/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/photomaker/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnT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Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/pixart-xl-2/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/pixart-xl-2/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/pixart-xl-2/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NGVZyi9ktC7QHDCLXQJlGPGZwoLCIm/QVYqeGSt4AFVqpobYKsmZlYs/Vtp0NckmmM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XdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/playground-v2-1024px-aesthetic/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/playground-v2-1024px-aesthetic/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/playground-v2-1024px-aesthetic/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPD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nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/playground-v2.5-1024px-aesthetic/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/playground-v2.5-1024px-aesthetic/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/playground-v2.5-1024px-aesthetic/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ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OcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/proteus-v0.2/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/proteus-v0.2/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/proteus-v0.2/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: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/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/proteus-v0.3/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/proteus-v0.3/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/proteus-v0.3/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8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7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/real-esrgan/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/real-esrgan/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/real-esrgan/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnx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WLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/realistic-voice-cloning/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/realistic-voice-cloning/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/realistic-voice-cloning/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL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ebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/realvisxl-v2.0/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/realvisxl-v2.0/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/realvisxl-v2.0/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+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IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/realvisxl-v3-multi-controlnet-lora/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/realvisxl-v3-multi-controlnet-lora/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/realvisxl-v3-multi-controlnet-lora/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQ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snwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/realvisxl-v3.0-turbo/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/realvisxl-v3.0-turbo/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/realvisxl-v3.0-turbo/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtf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s/publicModelsAPI/realvisxl2-lcm/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/realvisxl2-lcm/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/realvisxl2-lcm/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNv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UlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/rembg/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/rembg/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/rembg/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGk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KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl-controlnet-lora/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/sdxl-controlnet-lora/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/sdxl-controlnet-lora/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvu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mNEYGVzVtxpcw3uCEEHHAAkVidg5mnACGX5SFp2AHkoBCaWEfP1E32AMXNFrAFDgrzbR0q3UagFgckxkNFvfQixont3XIHTjj2GiBUgPjeVpwzrXO7FjakgkKGaAUJFg+Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl-emoji/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/sdxl-emoji/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/sdxl-emoji/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTj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a73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl-lightning-4step/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/sdxl-lightning-4step/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/sdxl-lightning-4step/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORq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CYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl-multi-controlnet-lora/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/sdxl-multi-controlnet-lora/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/sdxl-multi-controlnet-lora/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIB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fP1E32AMXNFrAFDgrzbR0q3UagFgckxkNFvfQixont3XIHTjj2GiBUgPjeVpwzrXO7FjakgkKGaAUJFg+Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/sdxl/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/sdxl/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NGV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dzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/shap-e/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/shap-e/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/shap-e/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wL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QvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/ssd-1b/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/ssd-1b/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/ssd-1b/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb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SbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/stable-diffusion-inpainting/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/stable-diffusion-inpainting/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/stable-diffusion-inpainting/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Predi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XsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/stable-diffusion/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/stable-diffusion/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/stable-diffusion/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2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fCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/swin2sr/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/swin2sr/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/swin2sr/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgt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NOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/swinir/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/swinir/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/swinir/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtf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s/publicModelsAPI/thinkdiffusionxl/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/thinkdiffusionxl/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/thinkdiffusionxl/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNv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UlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/tortoise-tts/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/tortoise-tts/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/tortoise-tts/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqm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P69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/whisper-diarization/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/whisper-diarization/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/whisper-diarization/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6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YGVzVtxpcw3uCEEHHAAkVidg5mnACGX5SFp2AHkoBCaWEfP1E32AMXNFrAFDgrzbR0q3UagFgckxkNFvfQixont3XIHTjj2GiBUgPjeVpwzrXO7FjakgkKGaAUJFg+Qgkba3Sv5DJK2gBA4hyBnkoyNognTOcyJSbElyWO106AGNNYgg3Gkw62647N5mphys2J1NE4ttsRW7EAxp6QdfA7arlNW2SupioP4GhVNfJMiJjRtNj6O8QNOWLdpg3RulG1nJyH97WYad7wuTg3O5zuWNlsnwnn1i2c6CeuwtDQwf7+f2iiIdOUx+aGo1mi2gyxCBpUmq7dcLTtctvP69qx8E4Exejm2KiUdI0eJOqmft6cuF7bFVSzULHa0rvA1a4jCSuPS5yEPhs/rCnHWZuzPtCYhwadUdh1RBasr2y8tp2ocRxdXJx9V2E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/whisper/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/whisper/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/whisper/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuP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GJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/zero123plusplus/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/zero123plusplus/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/zero123plusplus/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
---
id: agin
title: "AGIN"
description: ""
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
custom_edit_url: null
---
import ApiLogo from "@theme/ApiLogo";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";
<span className={"theme-doc-version-badge badge badge--secondary"}>Version: 0.1.0</span>
<h1 className={"openapi__heading"}>AGIN</h1>
\ No newline at end of file
---
id: predictions-post
title: "Prediction"
description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3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E7u5WI3VBGZzkBKBNxjoxlS02BhAgyDi3Yq3urZc56tZSzlRkkMQvP2cdvmh19ovuXX3wqDxbhCT085afHt8nk2H/REUaIE0CYC3Mht5fwjOo5vA3A9GA5HNSu6QPKBzDfCJknU7hHzmCgwItermzmFZPLwplcxugNdC41GqCqfsiWfcpveAC/zYyLxTupLvyvCzdq13F3AS9v3R034//tOty6IBa3PXOzwutU/XqDd5ryUlHcEOxc7reG5Woi3ZpaK4IdH2sz4z2DW70XppGob5fx2+P3oAlTYIvO74Mq5MTEQhyQ2ZXVWf1bSKNUa73moZ91XE1pttKDLKbcdGJTAHeumD5jHSO2ofn0UhYUppQbBPcUFZTJHKsSNNzdzahilzLebHD5C44SsA6PSyo5yuHbpldsIXPD4woJkJSIxortcPXRxO2vx+Q+j3Af1jakmXdgwfRGS3tp1T1xLavgaHXsSmIMTT/TO3nrO/Ts9PwCmGfu+1hiTlFP0q/YIOD3yLuCH/OlzcYXmMw6dHrYS7kZcj2rF//9C6xCteY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/zeroscope-v2-xl/agin
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
module.exports = [{"type":"doc","id":"publicModelsAPI/zeroscope-v2-xl/agin"},{"type":"category","label":"UNTAGGED","items":[{"type":"doc","id":"publicModelsAPI/zeroscope-v2-xl/predictions-post","label":"Prediction","className":"api-method post"}]}];
\ No newline at end of file
{
"label": "Quick Start",
"position": 1,
"link": {
"type": "generated-index",
"description": "5 minutes to learn the most important Docusaurus concepts."
}
}
# Get Started
AIGIC makes it easy to run machine learning models in the cloud from your own code.
## Get API Key And JWT Token
Before using AIGIC, we need to obtain an API Key or JWT Token for authentication in future API calls.
1,Login from [AIGIC home site](https://aigic.ai/) or [Dashboard](https://console.aigic.ai/)
2, If you are logged in from the AIGIC home site, please navigate to the Dashboard.
3,You can find the API Key from the list of API Keys.
4,You can find the JWT Token from the list of JWT Tokens.
5,You can choose either API key or JWT token for authentication.
## Usage
[Using AIGIC with Node.js](javascript_sdk)
[Using AIGIC with Python](python_sdk)
[Using AIGIC with HTTP](http)
\ No newline at end of file
# Using AIGIC with HTTP
## Authentication
All API requests must be authenticated. Include authenticated in header with all requests.
You can choose either API key or JWT token for authentication.
### For API Key
```shell
header = {
apikey:"your api key"
}
```
### For JWT Token
```shell
header = {
Authorization:"Bearer your jwt token"
}
```
## Create a prediction
### For API Key
When using API key for authentication, the base path of the HTTP request is 'api'.
```shell
POST https://api.aigic.ai/api/v1/predictions/ai/bark
```
Example cURL request:
```javascript
curl -X POST \
https://api.aigic.ai/api/v1/predictions/ai/bark \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'apikey: <your api key>' \
-d '{
"input":{
"prompt": "Hello, my name is Suno. And, uh — and I like pizza. [laughs] But I also have other interests such as playing tic tac toe."
}
}'
```
### For JWT Token
When using JWT Tokwn for authentication, the base path of the HTTP request is 'jwt'.
```shell
POST https://api.aigic.ai/jwt/v1/predictions/ai/bark
```
Example cURL request:
```javascript
curl -X POST \
https://api.aigic.ai/jwt/v1/predictions/ai/bark \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <your jwt token>' \
-d '{
"input":{
"prompt": "Hello, my name is Suno. And, uh — and I like pizza. [laughs] But I also have other interests such as playing tic tac toe."
}
}'
```
# Using AIGIC with Node.js
AGIN - JavaScript sdk for AIGIC
A Node.js client for AIGIC. It lets you run models from your Node.js code, and everything else you can do with AGIN HTTP API.
**[!IMPORTANT]** This library can't interact with AGIN API directly from a browser.
- Node.js version: 16.20.0
- API version: 1.0.0
- Package version: 1.0.0
## Installation
### For [Node.js](https://nodejs.org/)
#### npm
Install it from npm:
```shell
npm install agin --save
```
## Getting Started
Please follow the [installation](#installation) instruction and execute the following JS code:
```javascript
const AGIN = require("agin");
const options = {
//get your api key or jwt token from https://console.aigic.ai
auth:"my api key or jwt token"
}
const agin = new AGIN(options);
let response = await agin.prediction("/predictions/ai/ssd-1b",
{
input:{
"seed": 36446545872,
"width": 768,
"height": 768,
"prompt": "with smoke, half ice and half fire and ultra realistic in detail.wolf, typography, dark fantasy, wildlife photography, vibrant, cinematic and on a black background",
"scheduler": "K_EULER",
"num_outputs": 1,
"guidance_scale": 9,
"negative_prompt": "scary, cartoon, painting",
"num_inference_steps": 25
}
});
console.log("test",response);
```
## API
All URIs are relative to *https://api.aigic.ai*
### Constructor
```javascript
const agin = new AGIN(options);
```
name | type | Description
------------ | ------------- | -------------
*host* | string | The request host
*auth* | string | **Required**.You can choose either API key or JWT token for authentication.
## Docs
For more information, please visit the site *https://docs.aigic.ai*
\ No newline at end of file
# Using AIGIC with Python
AGIN - Python sdk for AIGIC
A Python lib for AIGIC. It lets you run models from your Python code, and everything else you can do with AGIN HTTP API.
- Python version: 3.9
- API version: 1.0
- Package version: 1.0.0
## Installation
### For [Python](https://www.python.org/)
#### npm
Install it from pip:
```shell
pip install agin
```
## Getting Started
Please follow the [installation](#installation) instruction and execute the following JS code:
```python
import agin.agin as agin
#get your api key or jwt token from https://console.aigic.ai
api_key = "my api key or jwt token"
agin_instance = agin.AGIN(api_key)
data = {
"input":{
"seed": 36446545872,
"width": 768,
"height": 768,
"prompt": "with smoke, half ice and half fire and ultra realistic in detail.wolf, typography, dark fantasy, wildlife photography, vibrant, cinematic and on a black background",
"scheduler": "K_EULER",
"num_outputs": 1,
"guidance_scale": 9,
"negative_prompt": "scary, cartoon, painting",
"num_inference_steps": 25
}
}
result = agin_instance.prediction("/predictions/ai/ssd-1b",data)
print(result)
```
## API
All URIs are relative to *https://api.aigic.ai*
### Constructor
```javascript
agin_instance = agin.AGIN(auth,host,headers)
```
name | type | Description
------------ | ------------- | -------------
*host* | string | The request host
*auth* | string | **Required**.You can choose either API key or JWT token for authentication.
## Docs
For more information, please visit the site *https://docs.aigic.ai*
\ No newline at end of file
module.exports=[
{
"type": "quick-start",
"label": "UNTAGGED",
"items": [
{
"type": "quick-start",
"id": "quick-start/get_started",
"label": "Get Started",
"position": 1,
},
{
"type": "quick-start",
"id": "quick-start/javascript_sdk",
"label": "Using AIGIC with Node.js",
"position": 2,
},
{
"type": "quick-start",
"id": "quick-start/python_sdk",
"label": "Using AIGIC with Python",
"position": 3,
},
{
"type": "quick-start",
"id": "quick-start/http",
"label": "Using AIGIC with HTTP",
"position": 4,
}
]
}
];
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment