</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>
</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"}>output</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={false} name={"embedding"} required={true} schemaName={"number[]"} qualifierMessage={undefined} schema={{"items":{"type":"number"},"title":"Embedding","type":"array"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></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\": [\n {\n \"embedding\": [\n 0\n ]\n }\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"input_file"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image, tar or zip file. Read guidance on workflows and input files here: https://github.com/fofr/cog-comfyui. Alternatively, you can replace inputs with URLs in your JSON workflow and the model will download them.","format":"uri","title":"Input File","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"randomise_seeds"} required={false} schemaName={"Randomise Seeds (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Automatically randomise seeds (seed, noise_seed, rand_seed)","title":"Randomise Seeds","type":"boolean","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"return_temp_files"} required={false} schemaName={"Return Temp Files (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Return any temporary files, such as preprocessed controlnet images. Useful for debugging.","title":"Return Temp Files","type":"boolean","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"workflow_json"} required={false} schemaName={"Workflow Json (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Your ComfyUI workflow as JSON. You must use the API version of your workflow. Get it from ComfyUI using ‘Save (API format)’. Instructions here: https://github.com/fofr/cog-comfyui","title":"Workflow Json","type":"string","x-order":0}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"custom_history_prompt"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Provide your own .npz file with history choice for audio cloning, this will override the previous history_prompt setting","format":"uri","title":"Custom History Prompt","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"history_prompt"} required={false} schemaName={"history_prompt (string)"} qualifierMessage={"**Possible values:** [`announcer`, `de_speaker_0`, `de_speaker_1`, `de_speaker_2`, `de_speaker_3`, `de_speaker_4`, `de_speaker_5`, `de_speaker_6`, `de_speaker_7`, `de_speaker_8`, `de_speaker_9`, `en_speaker_0`, `en_speaker_1`, `en_speaker_2`, `en_speaker_3`, `en_speaker_4`, `en_speaker_5`, `en_speaker_6`, `en_speaker_7`, `en_speaker_8`, `en_speaker_9`, `es_speaker_0`, `es_speaker_1`, `es_speaker_2`, `es_speaker_3`, `es_speaker_4`, `es_speaker_5`, `es_speaker_6`, `es_speaker_7`, `es_speaker_8`, `es_speaker_9`, `fr_speaker_0`, `fr_speaker_1`, `fr_speaker_2`, `fr_speaker_3`, `fr_speaker_4`, `fr_speaker_5`, `fr_speaker_6`, `fr_speaker_7`, `fr_speaker_8`, `fr_speaker_9`, `hi_speaker_0`, `hi_speaker_1`, `hi_speaker_2`, `hi_speaker_3`, `hi_speaker_4`, `hi_speaker_5`, `hi_speaker_6`, `hi_speaker_7`, `hi_speaker_8`, `hi_speaker_9`, `it_speaker_0`, `it_speaker_1`, `it_speaker_2`, `it_speaker_3`, `it_speaker_4`, `it_speaker_5`, `it_speaker_6`, `it_speaker_7`, `it_speaker_8`, `it_speaker_9`, `ja_speaker_0`, `ja_speaker_1`, `ja_speaker_2`, `ja_speaker_3`, `ja_speaker_4`, `ja_speaker_5`, `ja_speaker_6`, `ja_speaker_7`, `ja_speaker_8`, `ja_speaker_9`, `ko_speaker_0`, `ko_speaker_1`, `ko_speaker_2`, `ko_speaker_3`, `ko_speaker_4`, `ko_speaker_5`, `ko_speaker_6`, `ko_speaker_7`, `ko_speaker_8`, `ko_speaker_9`, `pl_speaker_0`, `pl_speaker_1`, `pl_speaker_2`, `pl_speaker_3`, `pl_speaker_4`, `pl_speaker_5`, `pl_speaker_6`, `pl_speaker_7`, `pl_speaker_8`, `pl_speaker_9`, `pt_speaker_0`, `pt_speaker_1`, `pt_speaker_2`, `pt_speaker_3`, `pt_speaker_4`, `pt_speaker_5`, `pt_speaker_6`, `pt_speaker_7`, `pt_speaker_8`, `pt_speaker_9`, `ru_speaker_0`, `ru_speaker_1`, `ru_speaker_2`, `ru_speaker_3`, `ru_speaker_4`, `ru_speaker_5`, `ru_speaker_6`, `ru_speaker_7`, `ru_speaker_8`, `ru_speaker_9`, `tr_speaker_0`, `tr_speaker_1`, `tr_speaker_2`, `tr_speaker_3`, `tr_speaker_4`, `tr_speaker_5`, `tr_speaker_6`, `tr_speaker_7`, `tr_speaker_8`, `tr_speaker_9`, `zh_speaker_0`, `zh_speaker_1`, `zh_speaker_2`, `zh_speaker_3`, `zh_speaker_4`, `zh_speaker_5`, `zh_speaker_6`, `zh_speaker_7`, `zh_speaker_8`, `zh_speaker_9`]"} schema={{"description":"An enumeration.","enum":["announcer","de_speaker_0","de_speaker_1","de_speaker_2","de_speaker_3","de_speaker_4","de_speaker_5","de_speaker_6","de_speaker_7","de_speaker_8","de_speaker_9","en_speaker_0","en_speaker_1","en_speaker_2","en_speaker_3","en_speaker_4","en_speaker_5","en_speaker_6","en_speaker_7","en_speaker_8","en_speaker_9","es_speaker_0","es_speaker_1","es_speaker_2","es_speaker_3","es_speaker_4","es_speaker_5","es_speaker_6","es_speaker_7","es_speaker_8","es_speaker_9","fr_speaker_0","fr_speaker_1","fr_speaker_2","fr_speaker_3","fr_speaker_4","fr_speaker_5","fr_speaker_6","fr_speaker_7","fr_speaker_8","fr_speaker_9","hi_speaker_0","hi_speaker_1","hi_speaker_2","hi_speaker_3","hi_speaker_4","hi_speaker_5","hi_speaker_6","hi_speaker_7","hi_speaker_8","hi_speaker_9","it_speaker_0","it_speaker_1","it_speaker_2","it_speaker_3","it_speaker_4","it_speaker_5","it_speaker_6","it_speaker_7","it_speaker_8","it_speaker_9","ja_speaker_0","ja_speaker_1","ja_speaker_2","ja_speaker_3","ja_speaker_4","ja_speaker_5","ja_speaker_6","ja_speaker_7","ja_speaker_8","ja_speaker_9","ko_speaker_0","ko_speaker_1","ko_speaker_2","ko_speaker_3","ko_speaker_4","ko_speaker_5","ko_speaker_6","ko_speaker_7","ko_speaker_8","ko_speaker_9","pl_speaker_0","pl_speaker_1","pl_speaker_2","pl_speaker_3","pl_speaker_4","pl_speaker_5","pl_speaker_6","pl_speaker_7","pl_speaker_8","pl_speaker_9","pt_speaker_0","pt_speaker_1","pt_speaker_2","pt_speaker_3","pt_speaker_4","pt_speaker_5","pt_speaker_6","pt_speaker_7","pt_speaker_8","pt_speaker_9","ru_speaker_0","ru_speaker_1","ru_speaker_2","ru_speaker_3","ru_speaker_4","ru_speaker_5","ru_speaker_6","ru_speaker_7","ru_speaker_8","ru_speaker_9","tr_speaker_0","tr_speaker_1","tr_speaker_2","tr_speaker_3","tr_speaker_4","tr_speaker_5","tr_speaker_6","tr_speaker_7","tr_speaker_8","tr_speaker_9","zh_speaker_0","zh_speaker_1","zh_speaker_2","zh_speaker_3","zh_speaker_4","zh_speaker_5","zh_speaker_6","zh_speaker_7","zh_speaker_8","zh_speaker_9"],"title":"history_prompt","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"output_full"} required={false} schemaName={"Output Full (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"return full generation as a .npz file to be used as a history prompt","title":"Output Full","type":"boolean","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"Hello, my name is Suno. And, uh — and I like pizza. [laughs] But I also have other interests such as playing tic tac toe.","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"text_temp"} required={false} schemaName={"Text Temp (number)"} qualifierMessage={undefined} schema={{"default":0.7,"description":"generation temperature (1.0 more diverse, 0.0 more conservative)","title":"Text Temp","type":"number","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"waveform_temp"} required={false} schemaName={"Waveform Temp (number)"} qualifierMessage={undefined} schema={{"default":0.7,"description":"generation temperature (1.0 more diverse, 0.0 more conservative)","title":"Waveform Temp","type":"number","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["output","start","completed","logs"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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"}>output</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"audio_out"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Audio Out","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_npz"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Prompt Npz","type":"string"}}></SchemaItem></div></details></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\": {\n \"audio_out\": \"string\",\n \"prompt_npz\": \"string\"\n },\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"caption"} required={false} schemaName={"Caption (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Select if you want to generate image captions instead of asking questions","title":"Caption","type":"boolean","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"context"} required={false} schemaName={"Context (string)"} qualifierMessage={undefined} schema={{"description":"Optional - previous questions and answers to be used as context for answering current question","title":"Context","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image to query or caption","format":"uri","title":"Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"question"} required={false} schemaName={"Question (string)"} qualifierMessage={undefined} schema={{"default":"What is this a picture of?","description":"Question to ask about this image. Leave blank for captioning","title":"Question","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={"**Possible values:** `>= 0.5` and `<= 1`"} schema={{"default":1,"description":"Temperature for use with nucleus sampling","maximum":1,"minimum":0.5,"title":"Temperature","type":"number","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"use_nucleus_sampling"} required={false} schemaName={"Use Nucleus Sampling (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Toggles the model using nucleus sampling to generate responses","title":"Use Nucleus Sampling","type":"boolean","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["output","start","completed","logs"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"Output (string)"} qualifierMessage={undefined} schema={{"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>
</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>
</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={"Output (string)"} qualifierMessage={undefined} schema={{"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>
</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>
</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"}>output</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={false} name={"embedding"} required={true} schemaName={"number[]"} qualifierMessage={undefined} schema={{"items":{"type":"number"},"title":"Embedding","type":"array"}}></SchemaItem><SchemaItem collapsible={false} name={"input"} required={true} schemaName={"Input (string)"} qualifierMessage={undefined} schema={{"title":"Input","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></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\": [\n {\n \"embedding\": [\n 0\n ],\n \"input\": \"string\"\n }\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"frequency_penalty"} required={false} schemaName={"Frequency Penalty (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":0,"description":"Frequency penalty","maximum":2,"minimum":0,"title":"Frequency Penalty","type":"number","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"grammar"} required={false} schemaName={"Grammar (string)"} qualifierMessage={undefined} schema={{"description":"Grammar in GBNF format. Use either grammar or jsonschema.","title":"Grammar","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"jsonschema"} required={false} schemaName={"Jsonschema (string)"} qualifierMessage={undefined} schema={{"description":"JSON schema for the generated output. Use either grammar or jsonschema. You can use the jsonschema in the prompt by using the special string '{jsonschema}'","title":"Jsonschema","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"max_tokens"} required={false} schemaName={"Max Tokens (integer)"} qualifierMessage={undefined} schema={{"default":500,"description":"Max number of tokens to return","title":"Max Tokens","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"mirostat_entropy"} required={false} schemaName={"Mirostat Entropy (number)"} qualifierMessage={"**Possible values:** `<= 10`"} schema={{"default":5,"description":"Mirostat target entropy","maximum":10,"minimum":0,"title":"Mirostat Entropy","type":"number","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"mirostat_learning_rate"} required={false} schemaName={"Mirostat Learning Rate (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.1,"description":"Mirostat learning rate, if mirostat_mode is not Disabled","maximum":1,"minimum":0,"title":"Mirostat Learning Rate","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"mirostat_mode"} required={false} schemaName={"mirostat_mode (string)"} qualifierMessage={"**Possible values:** [`Disabled`, `Mirostat`, `Mirostat 2.0`]"} schema={{"description":"An enumeration.","enum":["Disabled","Mirostat","Mirostat 2.0"],"title":"mirostat_mode","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"presence_penalty"} required={false} schemaName={"Presence Penalty (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":0,"description":"Presence ","maximum":2,"minimum":0,"title":"Presence Penalty","type":"number","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"repeat_penalty"} required={false} schemaName={"Repeat Penalty (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":1.1,"description":"Repetition penalty","maximum":2,"minimum":0,"title":"Repeat Penalty","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={undefined} schema={{"default":0.8,"description":"Temperature","title":"Temperature","type":"number","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"top_k"} required={false} schemaName={"Top K (integer)"} qualifierMessage={undefined} schema={{"default":10,"description":"Top K","title":"Top K","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={undefined} schema={{"default":0.95,"description":"Top P","title":"Top P","type":"number","x-order":5}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["completed","start","output","logs"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"string[]"} qualifierMessage={undefined} schema={{"items":{"type":"string"},"title":"Output","type":"array","x-cog-array-display":"concatenate","x-cog-array-type":"iterator"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"eta"} required={false} schemaName={"Eta (number)"} qualifierMessage={undefined} schema={{"default":0,"description":"Controls the amount of noise that is added to the input data during the denoising diffusion process. Higher value -> more noise","title":"Eta","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"high_threshold"} required={false} schemaName={"High Threshold (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 255`"} schema={{"default":200,"description":"[canny only] Line detection high threshold","maximum":255,"minimum":1,"title":"High Threshold","type":"integer","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image","format":"uri","title":"Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"image_resolution"} required={false} schemaName={"image_resolution (integer)"} qualifierMessage={"**Possible values:** [`256`, `512`, `768`]"} schema={{"description":"An enumeration.","enum":[256,512,768],"title":"image_resolution","type":"integer"}}></SchemaItem><SchemaItem collapsible={false} name={"low_threshold"} required={false} schemaName={"Low Threshold (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 255`"} schema={{"default":100,"description":"[canny only] Line detection low threshold","maximum":255,"minimum":1,"title":"Low Threshold","type":"integer","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"Longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality","description":"Negative prompt","title":"Negative Prompt","type":"string","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output (higher values may OOM)","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt for the model","title":"Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"return_reference_image"} required={false} schemaName={"Return Reference Image (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"whether to return the reference image along with the output","title":"Return Reference Image","type":"boolean","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"scale"} required={false} schemaName={"Scale (number)"} qualifierMessage={"**Possible values:** `>= 0.1` and `<= 30`"} schema={{"default":9,"description":"Scale for classifier-free guidance","maximum":30,"minimum":0.1,"title":"Scale","type":"number","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `K_EULER_ANCESTRAL`, `K_EULER`, `KLMS`, `PNDM`, `UniPCMultistep`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","K_EULER_ANCESTRAL","K_EULER","KLMS","PNDM","UniPCMultistep"],"title":"scheduler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Seed","title":"Seed","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"steps"} required={false} schemaName={"Steps (integer)"} qualifierMessage={undefined} schema={{"default":20,"description":"Steps","title":"Steps","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"structure"} required={true} schemaName={"structure (string)"} qualifierMessage={"**Possible values:** [`canny`, `depth`, `hed`, `hough`, `normal`, `pose`, `scribble`, `seg`]"} schema={{"description":"An enumeration.","enum":["canny","depth","hed","hough","normal","pose","scribble","seg"],"title":"structure","type":"string"}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["completed","logs","output","start"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
</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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array","x-cog-array-type":"iterator"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)","title":"Disable Safety Checker","type":"boolean","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 20`"} schema={{"default":2,"description":"Scale for classifier-free guidance","maximum":20,"minimum":1,"title":"Guidance Scale","type":"number","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image","title":"Height","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Input Negative Prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":6,"description":"Number of denoising steps","maximum":50,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a rainbow unicorn","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":8}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image","title":"Width","type":"integer","x-order":2}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1"} required={false} schemaName={"controlnet_1 (string)"} qualifierMessage={"**Possible values:** [`none`, `edge_canny`, `illusion`, `depth_leres`, `depth_midas`, `soft_edge_pidi`, `soft_edge_hed`, `lineart`, `lineart_anime`, `openpose`]"} schema={{"description":"An enumeration.","enum":["none","edge_canny","illusion","depth_leres","depth_midas","soft_edge_pidi","soft_edge_hed","lineart","lineart_anime","openpose"],"title":"controlnet_1","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_conditioning_scale"} required={false} schemaName={"Controlnet 1 Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 4`"} schema={{"default":0.75,"description":"How strong the controlnet conditioning is","maximum":4,"minimum":0,"title":"Controlnet 1 Conditioning Scale","type":"number","x-order":21}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_end"} required={false} schemaName={"Controlnet 1 End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When controlnet conditioning ends","maximum":1,"minimum":0,"title":"Controlnet 1 End","type":"number","x-order":23}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for first controlnet","format":"uri","title":"Controlnet 1 Image","type":"string","x-order":20}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_start"} required={false} schemaName={"Controlnet 1 Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"When controlnet conditioning starts","maximum":1,"minimum":0,"title":"Controlnet 1 Start","type":"number","x-order":22}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2"} required={false} schemaName={"controlnet_2 (string)"} qualifierMessage={"**Possible values:** [`none`, `edge_canny`, `illusion`, `depth_leres`, `depth_midas`, `soft_edge_pidi`, `soft_edge_hed`, `lineart`, `lineart_anime`, `openpose`]"} schema={{"description":"An enumeration.","enum":["none","edge_canny","illusion","depth_leres","depth_midas","soft_edge_pidi","soft_edge_hed","lineart","lineart_anime","openpose"],"title":"controlnet_2","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_conditioning_scale"} required={false} schemaName={"Controlnet 2 Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 4`"} schema={{"default":0.75,"description":"How strong the controlnet conditioning is","maximum":4,"minimum":0,"title":"Controlnet 2 Conditioning Scale","type":"number","x-order":26}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_end"} required={false} schemaName={"Controlnet 2 End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When controlnet conditioning ends","maximum":1,"minimum":0,"title":"Controlnet 2 End","type":"number","x-order":28}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for second controlnet","format":"uri","title":"Controlnet 2 Image","type":"string","x-order":25}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_start"} required={false} schemaName={"Controlnet 2 Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"When controlnet conditioning starts","maximum":1,"minimum":0,"title":"Controlnet 2 Start","type":"number","x-order":27}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3"} required={false} schemaName={"controlnet_3 (string)"} qualifierMessage={"**Possible values:** [`none`, `edge_canny`, `illusion`, `depth_leres`, `depth_midas`, `soft_edge_pidi`, `soft_edge_hed`, `lineart`, `lineart_anime`, `openpose`]"} schema={{"description":"An enumeration.","enum":["none","edge_canny","illusion","depth_leres","depth_midas","soft_edge_pidi","soft_edge_hed","lineart","lineart_anime","openpose"],"title":"controlnet_3","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_conditioning_scale"} required={false} schemaName={"Controlnet 3 Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 4`"} schema={{"default":0.75,"description":"How strong the controlnet conditioning is","maximum":4,"minimum":0,"title":"Controlnet 3 Conditioning Scale","type":"number","x-order":31}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_end"} required={false} schemaName={"Controlnet 3 End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When controlnet conditioning ends","maximum":1,"minimum":0,"title":"Controlnet 3 End","type":"number","x-order":33}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for third controlnet","format":"uri","title":"Controlnet 3 Image","type":"string","x-order":30}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_start"} required={false} schemaName={"Controlnet 3 Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"When controlnet conditioning starts","maximum":1,"minimum":0,"title":"Controlnet 3 Start","type":"number","x-order":32}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API.","title":"Disable Safety Checker","type":"boolean","x-order":18}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"lora_scale"} required={false} schemaName={"Lora Scale (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.6,"description":"LoRA additive scale. Only applicable on trained models.","maximum":1,"minimum":0,"title":"Lora Scale","type":"number","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"lora_weights"} required={false} schemaName={"Lora Weights (string)"} qualifierMessage={undefined} schema={{"description":"Replicate LoRA weights to use. Leave blank to use the default weights.","title":"Lora Weights","type":"string","x-order":17}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Negative Prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":30,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a rainbow unicorn","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"refine"} required={false} schemaName={"refine (string)"} qualifierMessage={"**Possible values:** [`no_refiner`, `base_image_refiner`]"} schema={{"description":"An enumeration.","enum":["no_refiner","base_image_refiner"],"title":"refine","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"refine_steps"} required={false} schemaName={"Refine Steps (integer)"} qualifierMessage={undefined} schema={{"description":"For base_image_refiner, the number of steps to refine, defaults to num_inference_steps","title":"Refine Steps","type":"integer","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":12}}></SchemaItem><SchemaItem collapsible={false} name={"sizing_strategy"} required={false} schemaName={"sizing_strategy (string)"} qualifierMessage={"**Possible values:** [`width_height`, `input_image`, `controlnet_1_image`, `controlnet_2_image`, `controlnet_3_image`, `mask_image`]"} schema={{"description":"An enumeration.","enum":["width_height","input_image","controlnet_1_image","controlnet_2_image","controlnet_3_image","mask_image"],"title":"sizing_strategy","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"title":"Height","type":"integer","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"An image of a person to be converted to a sticker","format":"uri","title":"Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"instant_id_strength"} required={false} schemaName={"Instant Id Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"How strong the InstantID will be.","maximum":1,"minimum":0,"title":"Instant Id Strength","type":"number","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"ip_adapter_noise"} required={false} schemaName={"Ip Adapter Noise (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.5,"description":"How much noise is added to the IP adapter input","maximum":1,"minimum":0,"title":"Ip Adapter Noise","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"ip_adapter_weight"} required={false} schemaName={"Ip Adapter Weight (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.2,"description":"How much the IP adapter will influence the image","maximum":1,"minimum":0,"title":"Ip Adapter Weight","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Things you do not want in the image","title":"Negative Prompt","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"a person","title":"Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={undefined} schema={{"default":7,"description":"Strength of the prompt. This is the CFG scale, higher numbers lead to stronger prompt, lower numbers will keep more of a likeness to the original.","title":"Prompt Strength","type":"number","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Fix the random seed for reproducibility","title":"Seed","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"steps"} required={false} schemaName={"Steps (integer)"} qualifierMessage={undefined} schema={{"default":20,"title":"Steps","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"upscale"} required={false} schemaName={"Upscale (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"2x upscale the sticker","title":"Upscale","type":"boolean","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"upscale_steps"} required={false} schemaName={"Upscale Steps (integer)"} qualifierMessage={undefined} schema={{"default":10,"description":"Number of steps to upscale","title":"Upscale Steps","type":"integer","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"title":"Width","type":"integer","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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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={"aesthetic_rating"} required={false} schemaName={"Aesthetic Rating (integer)"} qualifierMessage={undefined} schema={{"default":9,"description":"Aesthetic rating (1-9) - embed to use.","title":"Aesthetic Rating","type":"integer","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"aesthetic_weight"} required={false} schemaName={"Aesthetic Weight (number)"} qualifierMessage={undefined} schema={{"default":0.5,"description":"Aesthetic weight (0-1). How much to guide towards the aesthetic embed vs the prompt embed.","title":"Aesthetic Weight","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"batch_size"} required={false} schemaName={"Batch Size (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 16`"} schema={{"default":4,"description":"Batch size. (higher = slower)","maximum":16,"minimum":1,"title":"Batch Size","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= -20` and `<= 100`"} schema={{"default":5,"description":"Classifier-free guidance scale. Higher values will result in more guidance toward caption, with diminishing returns. Try values between 1.0 and 40.0. In general, going above 5.0 will introduce some artifacting.","maximum":100,"minimum":-20,"title":"Guidance Scale","type":"number","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"height (integer)"} qualifierMessage={"**Possible values:** [`128`, `192`, `256`, `320`, `384`]"} schema={{"description":"An enumeration.","enum":[128,192,256,320,384],"title":"height","type":"integer"}}></SchemaItem><SchemaItem collapsible={false} name={"init_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"(optional) Initial image to use for the model's prediction. If provided alongside a mask, the image will be inpainted instead.","format":"uri","title":"Init Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"init_skip_fraction"} required={false} schemaName={"Init Skip Fraction (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"Fraction of sampling steps to skip when using an init image. Defaults to 0.0 if init_image is not specified and 0.5 if init_image is specified.","maximum":1,"minimum":0,"title":"Init Skip Fraction","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"intermediate_outputs"} required={false} schemaName={"Intermediate Outputs (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Whether to return intermediate outputs. Enable to visualize the diffusion process and/or debug the model. May slow down inference.","title":"Intermediate Outputs","type":"boolean","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"a mask image for inpainting an init_image. white pixels = keep, black pixels = discard. resized to width = image width/8, height = image height/8","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative"} required={false} schemaName={"Negative (string)"} qualifierMessage={undefined} schema={{"default":"","description":"(optional) Negate the model's prediction for this text from the model's prediction for the target text.","title":"Negative","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Your text prompt.","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={"**Possible values:** `>= -1` and `<= 4294967295`"} schema={{"default":-1,"description":"Seed for random number generator. If -1, a random seed will be chosen.","maximum":4294967295,"minimum":-1,"title":"Seed","type":"integer","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"steps"} required={false} schemaName={"Steps (integer)"} qualifierMessage={"**Possible values:** `>= 15` and `<= 250`"} schema={{"default":50,"description":"Number of diffusion steps to run. Due to PLMS sampling, using more than 100 steps is unnecessary and may simply produce the exact same output.","maximum":250,"minimum":15,"title":"Steps","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"width (integer)"} qualifierMessage={"**Possible values:** [`128`, `192`, `256`, `320`, `384`]"} schema={{"description":"An enumeration.","enum":[128,192,256,320,384],"title":"width","type":"integer"}}></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
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>
</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={"array[]"} qualifierMessage={undefined} schema={{"items":{"items":{"format":"uri","type":"string"},"type":"array"},"title":"Output","type":"array","x-cog-array-type":"iterator"}}></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\": [\n [\n \"string\"\n ]\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"input"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"file that you want to embed. Needs to be text, vision, or audio.","format":"uri","title":"Input","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"modality"} required={false} schemaName={"modality (string)"} qualifierMessage={"**Possible values:** [`text`, `vision`, `audio`]"} schema={{"description":"An enumeration.","enum":["text","vision","audio"],"title":"modality","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"text_input"} required={false} schemaName={"Text Input (string)"} qualifierMessage={undefined} schema={{"description":"text that you want to embed. Provide a string here instead of a text file to input if you'd like.","title":"Text Input","type":"string","x-order":1}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","completed","logs"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"number[]"} qualifierMessage={undefined} schema={{"items":{"type":"number"},"title":"Output","type":"array"}}></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\": [\n 0\n ],\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>
</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>
</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={"Output"} qualifierMessage={undefined} schema={{"title":"Output"}}></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 \"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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"canny_strength"} required={false} schemaName={"Canny Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.3,"description":"Canny ControlNet strength, effective only if `enable_canny_controlnet` is true","maximum":1,"minimum":0,"title":"Canny Strength","type":"number","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_conditioning_scale"} required={false} schemaName={"Controlnet Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 1.5`"} schema={{"default":0.8,"description":"Scale for IdentityNet strength (for fidelity)","maximum":1.5,"minimum":0,"title":"Controlnet Conditioning Scale","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"depth_strength"} required={false} schemaName={"Depth Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.5,"description":"Depth ControlNet strength, effective only if `enable_depth_controlnet` is true","maximum":1,"minimum":0,"title":"Depth Strength","type":"number","x-order":17}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images","title":"Disable Safety Checker","type":"boolean","x-order":23}}></SchemaItem><SchemaItem collapsible={false} name={"enable_canny_controlnet"} required={false} schemaName={"Enable Canny Controlnet (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Enable Canny ControlNet, overrides strength if set to false","title":"Enable Canny Controlnet","type":"boolean","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"enable_depth_controlnet"} required={false} schemaName={"Enable Depth Controlnet (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Enable Depth ControlNet, overrides strength if set to false","title":"Enable Depth Controlnet","type":"boolean","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"enable_lcm"} required={false} schemaName={"Enable Lcm (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Enable Fast Inference with LCM (Latent Consistency Models) - speeds up inference steps, trade-off is the quality of the generated image. Performs better with close-up portrait face images","title":"Enable Lcm","type":"boolean","x-order":18}}></SchemaItem><SchemaItem collapsible={false} name={"enable_pose_controlnet"} required={false} schemaName={"Enable Pose Controlnet (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Enable Openpose ControlNet, overrides strength if set to false","title":"Enable Pose Controlnet","type":"boolean","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"enhance_nonface_region"} required={false} schemaName={"Enhance Nonface Region (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Enhance non-face region","title":"Enhance Nonface Region","type":"boolean","x-order":21}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={"**Possible values:** `>= 512` and `<= 4096`"} schema={{"default":640,"description":"Height of output image","maximum":4096,"minimum":512,"title":"Height","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input face image","format":"uri","title":"Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"ip_adapter_scale"} required={false} schemaName={"Ip Adapter Scale (number)"} qualifierMessage={"**Possible values:** `<= 1.5`"} schema={{"default":0.8,"description":"Scale for image adapter strength (for detail)","maximum":1.5,"minimum":0,"title":"Ip Adapter Scale","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"lcm_guidance_scale"} required={false} schemaName={"Lcm Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 20`"} schema={{"default":1.5,"description":"Only used when `enable_lcm` is set to True, Scale for classifier-free guidance when using LCM","maximum":20,"minimum":1,"title":"Lcm Guidance Scale","type":"number","x-order":20}}></SchemaItem><SchemaItem collapsible={false} name={"lcm_num_inference_steps"} required={false} schemaName={"Lcm Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 10`"} schema={{"default":5,"description":"Only used when `enable_lcm` is set to True, Number of denoising steps when using LCM","maximum":10,"minimum":1,"title":"Lcm Num Inference Steps","type":"integer","x-order":19}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Input Negative Prompt","title":"Negative Prompt","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":30,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"pose_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"(Optional) reference pose image","format":"uri","title":"Pose Image","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"pose_strength"} required={false} schemaName={"Pose Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.4,"description":"Openpose ControlNet strength, effective only if `enable_pose_controlnet` is true","maximum":1,"minimum":0,"title":"Pose Strength","type":"number","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"a person","description":"Input prompt","title":"Prompt","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DEISMultistepScheduler`, `HeunDiscreteScheduler`, `EulerDiscreteScheduler`, `DPMSolverMultistepScheduler`, `DPMSolverMultistepScheduler-Karras`, `DPMSolverMultistepScheduler-Karras-SDE`]"} schema={{"description":"An enumeration.","enum":["DEISMultistepScheduler","HeunDiscreteScheduler","EulerDiscreteScheduler","DPMSolverMultistepScheduler","DPMSolverMultistepScheduler-Karras","DPMSolverMultistepScheduler-Karras-SDE"],"title":"scheduler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"sdxl_weights"} required={false} schemaName={"sdxl_weights (string)"} qualifierMessage={"**Possible values:** [`stable-diffusion-xl-base-1.0`, `juggernaut-xl-v8`, `afrodite-xl-v2`, `albedobase-xl-20`, `albedobase-xl-v13`, `animagine-xl-30`, `anime-art-diffusion-xl`, `anime-illust-diffusion-xl`, `dreamshaper-xl`, `dynavision-xl-v0610`, `guofeng4-xl`, `nightvision-xl-0791`, `omnigen-xl`, `pony-diffusion-v6-xl`, `protovision-xl-high-fidel`]"} schema={{"description":"An enumeration.","enum":["stable-diffusion-xl-base-1.0","juggernaut-xl-v8","afrodite-xl-v2","albedobase-xl-20","albedobase-xl-v13","animagine-xl-30","anime-art-diffusion-xl","anime-illust-diffusion-xl","dreamshaper-xl","dynavision-xl-v0610","guofeng4-xl","nightvision-xl-0791","omnigen-xl","pony-diffusion-v6-xl","protovision-xl-high-fidel"],"title":"sdxl_weights","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":22}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={"**Possible values:** `>= 512` and `<= 4096`"} schema={{"default":640,"description":"Width of output image","maximum":4096,"minimum":512,"title":"Width","type":"integer","x-order":5}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 20`"} schema={{"default":4,"description":"Scale for classifier-free guidance","maximum":20,"minimum":1,"title":"Guidance Scale","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={"**Possible values:** `>= 128` and `<= 1024`"} schema={{"default":512,"description":"Height of output image. Reduce the seeting if hits memory limits","maximum":1024,"minimum":128,"title":"Height","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for text_guided_img2img task","format":"uri","title":"Image","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"low quality, bad quality","description":"Specify things to not see in the output for text2img and text_guided_img2img tasks","title":"Negative Prompt","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":100,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"num_steps_prior"} required={false} schemaName={"Num Steps Prior (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":25,"description":"Number of denoising steps in prior","maximum":500,"minimum":1,"title":"Num Steps Prior","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"A alien cheeseburger creature eating itself, claymation, cinematic, moody lighting","description":"Provide input prompt","title":"Prompt","type":"string","x-order":1}}></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":11}}></SchemaItem><SchemaItem collapsible={false} name={"strength"} required={false} schemaName={"Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.3,"description":"indicates how much to transform the input iamge, valid for text_guided_img2img task.","maximum":1,"minimum":0,"title":"Strength","type":"number","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"task"} required={false} schemaName={"task (string)"} qualifierMessage={"**Possible values:** [`text2img`, `text_guided_img2img`]"} schema={{"description":"An enumeration.","enum":["text2img","text_guided_img2img"],"title":"task","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={"**Possible values:** `>= 128` and `<= 1024`"} schema={{"default":512,"description":"Width of output image. Reduce the seeting if hits memory limits","maximum":1024,"minimum":128,"title":"Width","type":"integer","x-order":5}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["logs","start","completed","output"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
</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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
</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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"archive_outputs"} required={false} schemaName={"Archive Outputs (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Option to archive the output images","title":"Archive Outputs","type":"boolean","x-order":17}}></SchemaItem><SchemaItem collapsible={false} name={"canny_high_threshold"} required={false} schemaName={"Canny High Threshold (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 255`"} schema={{"default":200,"description":"Canny high threshold","maximum":255,"minimum":1,"title":"Canny High Threshold","type":"number","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"canny_low_threshold"} required={false} schemaName={"Canny Low Threshold (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 255`"} schema={{"default":100,"description":"Canny low threshold","maximum":255,"minimum":1,"title":"Canny Low Threshold","type":"number","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"control_guidance_end"} required={false} schemaName={"Control Guidance End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"Controlnet end","maximum":1,"minimum":0,"title":"Control Guidance End","type":"number","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"control_guidance_start"} required={false} schemaName={"Control Guidance Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"Controlnet start","maximum":1,"minimum":0,"title":"Control Guidance Start","type":"number","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"control_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Image for controlnet conditioning","format":"uri","title":"Control Image","type":"string","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_conditioning_scale"} required={false} schemaName={"Controlnet Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `>= 0.1` and `<= 4`"} schema={{"default":2,"description":"Controlnet conditioning scale","maximum":4,"minimum":0.1,"title":"Controlnet Conditioning Scale","type":"number","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API","title":"Disable Safety Checker","type":"boolean","x-order":18}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 20`"} schema={{"default":8,"description":"Scale for classifier-free guidance","maximum":20,"minimum":1,"title":"Guidance Scale","type":"number","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Height of output image. Lower if out of memory","title":"Height","type":"integer","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img","format":"uri","title":"Image","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"lcm_origin_steps"} required={false} schemaName={"Lcm Origin Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1`"} schema={{"default":50,"minimum":1,"title":"Lcm Origin Steps","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"num_images"} required={false} schemaName={"Num Images (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":1,"description":"Number of images per prompt","maximum":50,"minimum":1,"title":"Num Images","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":8,"description":"Number of denoising steps. Recommend 1 to 8 steps.","maximum":50,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"Self-portrait oil painting, a beautiful cyborg with golden hair, 8k","description":"For multiple prompts, enter each on a new line.","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":5}}></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":10}}></SchemaItem><SchemaItem collapsible={false} name={"sizing_strategy"} required={false} schemaName={"sizing_strategy (string)"} qualifierMessage={"**Possible values:** [`width/height`, `input_image`, `control_image`]"} schema={{"description":"An enumeration.","enum":["width/height","input_image","control_image"],"title":"sizing_strategy","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Width of output image. Lower if out of memory","title":"Width","type":"integer","x-order":1}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"frequency_penalty"} required={false} schemaName={"Frequency Penalty (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":0,"description":"Frequency penalty","maximum":2,"minimum":0,"title":"Frequency Penalty","type":"number","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"grammar"} required={false} schemaName={"Grammar (string)"} qualifierMessage={undefined} schema={{"description":"Grammar in GBNF format. Use either grammar or jsonschema.","title":"Grammar","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"jsonschema"} required={false} schemaName={"Jsonschema (string)"} qualifierMessage={undefined} schema={{"description":"JSON schema for the generated output. Use either grammar or jsonschema. You can use the jsonschema in the prompt by using the special string '{jsonschema}'","title":"Jsonschema","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"max_tokens"} required={false} schemaName={"Max Tokens (integer)"} qualifierMessage={undefined} schema={{"default":500,"description":"Max number of tokens to return","title":"Max Tokens","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"mirostat_entropy"} required={false} schemaName={"Mirostat Entropy (number)"} qualifierMessage={"**Possible values:** `<= 10`"} schema={{"default":5,"description":"Mirostat target entropy","maximum":10,"minimum":0,"title":"Mirostat Entropy","type":"number","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"mirostat_learning_rate"} required={false} schemaName={"Mirostat Learning Rate (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.1,"description":"Mirostat learning rate, if mirostat_mode is not Disabled","maximum":1,"minimum":0,"title":"Mirostat Learning Rate","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"mirostat_mode"} required={false} schemaName={"mirostat_mode (string)"} qualifierMessage={"**Possible values:** [`Disabled`, `Mirostat`, `Mirostat 2.0`]"} schema={{"description":"An enumeration.","enum":["Disabled","Mirostat","Mirostat 2.0"],"title":"mirostat_mode","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"presence_penalty"} required={false} schemaName={"Presence Penalty (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":0,"description":"Presence ","maximum":2,"minimum":0,"title":"Presence Penalty","type":"number","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"repeat_penalty"} required={false} schemaName={"Repeat Penalty (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":1.1,"description":"Repetition penalty","maximum":2,"minimum":0,"title":"Repeat Penalty","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={undefined} schema={{"default":0.8,"description":"Temperature","title":"Temperature","type":"number","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"top_k"} required={false} schemaName={"Top K (integer)"} qualifierMessage={undefined} schema={{"default":10,"description":"Top K","title":"Top K","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={undefined} schema={{"default":0.95,"description":"Top P","title":"Top P","type":"number","x-order":5}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","logs","completed","output"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"string[]"} qualifierMessage={undefined} schema={{"items":{"type":"string"},"title":"Output","type":"array","x-cog-array-display":"concatenate","x-cog-array-type":"iterator"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"debug"} required={false} schemaName={"Debug (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"provide debugging output in logs","title":"Debug","type":"boolean","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"max_new_tokens"} required={false} schemaName={"Max New Tokens (integer)"} qualifierMessage={"**Possible values:** `>= 1`"} schema={{"default":128,"description":"Maximum number of tokens to generate. A word is generally 2-3 tokens","minimum":1,"title":"Max New Tokens","type":"integer","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"min_new_tokens"} required={false} schemaName={"Min New Tokens (integer)"} qualifierMessage={"**Possible values:** `>= -1`"} schema={{"default":-1,"description":"Minimum number of tokens to generate. To disable, set to -1. A word is generally 2-3 tokens.","minimum":-1,"title":"Min New Tokens","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt to send to the model.","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"replicate_weights"} required={false} schemaName={"Replicate Weights (string)"} qualifierMessage={undefined} schema={{"description":"Path to fine-tuned weights produced by a Replicate fine-tune job.","title":"Replicate Weights","type":"string","x-order":10}}></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":8}}></SchemaItem><SchemaItem collapsible={false} name={"stop_sequences"} required={false} schemaName={"Stop Sequences (string)"} qualifierMessage={undefined} schema={{"description":"A comma-separated list of sequences to stop generation at. For example, '<end>,<stop>' will stop generation at the first instance of 'end' or '<stop>'.","title":"Stop Sequences","type":"string","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"system_prompt"} required={false} schemaName={"System Prompt (string)"} qualifierMessage={undefined} schema={{"default":"You are a helpful assistant.","description":"System prompt to send to the model. This is prepended to the prompt and helps guide system behavior.","title":"System Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={"**Possible values:** `>= 0.01` and `<= 5`"} schema={{"default":0.75,"description":"Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.","maximum":5,"minimum":0.01,"title":"Temperature","type":"number","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"top_k"} required={false} schemaName={"Top K (integer)"} qualifierMessage={undefined} schema={{"default":50,"description":"When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens","minimum":0,"title":"Top K","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.9,"description":"When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens","maximum":1,"minimum":0,"title":"Top P","type":"number","x-order":5}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"string[]"} qualifierMessage={undefined} schema={{"items":{"type":"string"},"title":"Output","type":"array","x-cog-array-display":"concatenate","x-cog-array-type":"iterator"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"frequency_penalty"} required={false} schemaName={"Frequency Penalty (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":0,"description":"Frequency penalty","maximum":2,"minimum":0,"title":"Frequency Penalty","type":"number","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"grammar"} required={false} schemaName={"Grammar (string)"} qualifierMessage={undefined} schema={{"description":"Grammar in GBNF format. Use either grammar or jsonschema.","title":"Grammar","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"jsonschema"} required={false} schemaName={"Jsonschema (string)"} qualifierMessage={undefined} schema={{"description":"JSON schema for the generated output. Use either grammar or jsonschema. You can use the jsonschema in the prompt by using the special string '{jsonschema}'","title":"Jsonschema","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"max_tokens"} required={false} schemaName={"Max Tokens (integer)"} qualifierMessage={undefined} schema={{"default":500,"description":"Max number of tokens to return","title":"Max Tokens","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"mirostat_entropy"} required={false} schemaName={"Mirostat Entropy (number)"} qualifierMessage={"**Possible values:** `<= 10`"} schema={{"default":5,"description":"Mirostat target entropy","maximum":10,"minimum":0,"title":"Mirostat Entropy","type":"number","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"mirostat_learning_rate"} required={false} schemaName={"Mirostat Learning Rate (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.1,"description":"Mirostat learning rate, if mirostat_mode is not Disabled","maximum":1,"minimum":0,"title":"Mirostat Learning Rate","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"mirostat_mode"} required={false} schemaName={"mirostat_mode (string)"} qualifierMessage={"**Possible values:** [`Disabled`, `Mirostat`, `Mirostat 2.0`]"} schema={{"description":"An enumeration.","enum":["Disabled","Mirostat","Mirostat 2.0"],"title":"mirostat_mode","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"presence_penalty"} required={false} schemaName={"Presence Penalty (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":0,"description":"Presence ","maximum":2,"minimum":0,"title":"Presence Penalty","type":"number","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"repeat_penalty"} required={false} schemaName={"Repeat Penalty (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":1.1,"description":"Repetition penalty","maximum":2,"minimum":0,"title":"Repeat Penalty","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={undefined} schema={{"default":0.8,"description":"Temperature","title":"Temperature","type":"number","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"top_k"} required={false} schemaName={"Top K (integer)"} qualifierMessage={undefined} schema={{"default":10,"description":"Top K","title":"Top K","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={undefined} schema={{"default":0.95,"description":"Top P","title":"Top P","type":"number","x-order":5}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["logs","completed","start","output"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"string[]"} qualifierMessage={undefined} schema={{"items":{"type":"string"},"title":"Output","type":"array","x-cog-array-display":"concatenate","x-cog-array-type":"iterator"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"debug"} required={false} schemaName={"Debug (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"provide debugging output in logs","title":"Debug","type":"boolean","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"max_new_tokens"} required={false} schemaName={"Max New Tokens (integer)"} qualifierMessage={"**Possible values:** `>= 1`"} schema={{"default":128,"description":"Maximum number of tokens to generate. A word is generally 2-3 tokens","minimum":1,"title":"Max New Tokens","type":"integer","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"min_new_tokens"} required={false} schemaName={"Min New Tokens (integer)"} qualifierMessage={"**Possible values:** `>= -1`"} schema={{"default":-1,"description":"Minimum number of tokens to generate. To disable, set to -1. A word is generally 2-3 tokens.","minimum":-1,"title":"Min New Tokens","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt to send to the model.","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"replicate_weights"} required={false} schemaName={"Replicate Weights (string)"} qualifierMessage={undefined} schema={{"description":"Path to fine-tuned weights produced by a Replicate fine-tune job.","title":"Replicate Weights","type":"string","x-order":10}}></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":8}}></SchemaItem><SchemaItem collapsible={false} name={"stop_sequences"} required={false} schemaName={"Stop Sequences (string)"} qualifierMessage={undefined} schema={{"description":"A comma-separated list of sequences to stop generation at. For example, '<end>,<stop>' will stop generation at the first instance of 'end' or '<stop>'.","title":"Stop Sequences","type":"string","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"system_prompt"} required={false} schemaName={"System Prompt (string)"} qualifierMessage={undefined} schema={{"default":"You are a helpful assistant.","description":"System prompt to send to the model. This is prepended to the prompt and helps guide system behavior.","title":"System Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={"**Possible values:** `>= 0.01` and `<= 5`"} schema={{"default":0.75,"description":"Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.","maximum":5,"minimum":0.01,"title":"Temperature","type":"number","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"top_k"} required={false} schemaName={"Top K (integer)"} qualifierMessage={undefined} schema={{"default":50,"description":"When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens","minimum":0,"title":"Top K","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.9,"description":"When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens","maximum":1,"minimum":0,"title":"Top P","type":"number","x-order":5}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"string[]"} qualifierMessage={undefined} schema={{"items":{"type":"string"},"title":"Output","type":"array","x-cog-array-display":"concatenate","x-cog-array-type":"iterator"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"debug"} required={false} schemaName={"Debug (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"provide debugging output in logs","title":"Debug","type":"boolean","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"max_new_tokens"} required={false} schemaName={"Max New Tokens (integer)"} qualifierMessage={"**Possible values:** `>= 1`"} schema={{"default":128,"description":"Maximum number of tokens to generate. A word is generally 2-3 tokens","minimum":1,"title":"Max New Tokens","type":"integer","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"min_new_tokens"} required={false} schemaName={"Min New Tokens (integer)"} qualifierMessage={"**Possible values:** `>= -1`"} schema={{"default":-1,"description":"Minimum number of tokens to generate. To disable, set to -1. A word is generally 2-3 tokens.","minimum":-1,"title":"Min New Tokens","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt to send to the model.","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"repetition_penalty"} required={false} schemaName={"Repetition Penalty (number)"} qualifierMessage={undefined} schema={{"default":1.15,"description":"A parameter that controls how repetitive text can be. Lower means more repetitive, while higher means less repetitive. Set to 1.0 to disable.","minimum":0,"title":"Repetition Penalty","type":"number","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"replicate_weights"} required={false} schemaName={"Replicate Weights (string)"} qualifierMessage={undefined} schema={{"description":"Path to fine-tuned weights produced by a Replicate fine-tune job.","title":"Replicate Weights","type":"string","x-order":11}}></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={"stop_sequences"} required={false} schemaName={"Stop Sequences (string)"} qualifierMessage={undefined} schema={{"description":"A comma-separated list of sequences to stop generation at. For example, '<end>,<stop>' will stop generation at the first instance of 'end' or '<stop>'.","title":"Stop Sequences","type":"string","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"system_prompt"} required={false} schemaName={"System Prompt (string)"} qualifierMessage={undefined} schema={{"default":"You are a helpful, respectful and honest assistant.","description":"System prompt to send to the model. This is prepended to the prompt and helps guide system behavior.","title":"System Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={"**Possible values:** `>= 0.01` and `<= 5`"} schema={{"default":0.7,"description":"Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.","maximum":5,"minimum":0.01,"title":"Temperature","type":"number","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"top_k"} required={false} schemaName={"Top K (integer)"} qualifierMessage={"**Possible values:** `>= -1`"} schema={{"default":-1,"description":"When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens","minimum":-1,"title":"Top K","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.95,"description":"When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens","maximum":1,"minimum":0,"title":"Top P","type":"number","x-order":5}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"string[]"} qualifierMessage={undefined} schema={{"items":{"type":"string"},"title":"Output","type":"array","x-cog-array-display":"concatenate","x-cog-array-type":"iterator"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"image"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image","format":"uri","title":"Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"max_tokens"} required={false} schemaName={"Max Tokens (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Maximum number of tokens to generate. A word is generally 2-3 tokens","minimum":0,"title":"Max Tokens","type":"integer","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt to use for text generation","title":"Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={undefined} schema={{"default":0.2,"description":"Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic","minimum":0,"title":"Temperature","type":"number","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens","maximum":1,"minimum":0,"title":"Top P","type":"number","x-order":2}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"string[]"} qualifierMessage={undefined} schema={{"items":{"type":"string"},"title":"Output","type":"array","x-cog-array-display":"concatenate","x-cog-array-type":"iterator"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"history"} required={false} schemaName={"string[]"} qualifierMessage={undefined} schema={{"description":"List of earlier chat messages, alternating roles, starting with user input. Include <image> to specify which message to attach the image to.","items":{"type":"string"},"title":"History","type":"array","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image","format":"uri","title":"Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"max_tokens"} required={false} schemaName={"Max Tokens (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Maximum number of tokens to generate. A word is generally 2-3 tokens","minimum":0,"title":"Max Tokens","type":"integer","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt to use for text generation","title":"Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={undefined} schema={{"default":0.2,"description":"Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic","minimum":0,"title":"Temperature","type":"number","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens","maximum":1,"minimum":0,"title":"Top P","type":"number","x-order":2}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"string[]"} qualifierMessage={undefined} schema={{"items":{"type":"string"},"title":"Output","type":"array","x-cog-array-display":"concatenate","x-cog-array-type":"iterator"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 20`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":20,"minimum":1,"title":"Guidance Scale","type":"number","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"height (integer)"} qualifierMessage={"**Possible values:** [`128`, `256`, `384`, `448`, `512`, `576`, `640`, `704`, `768`, `832`, `896`, `960`, `1024`]"} schema={{"description":"An enumeration.","enum":[128,256,384,448,512,576,640,704,768,832,896,960,1024],"title":"height","type":"integer"}}></SchemaItem><SchemaItem collapsible={false} name={"init_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Inital image to generate variations of. Will be resized to the specified width and height","format":"uri","title":"Init Image","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Black and white image to use as mask for inpainting over init_image. Black pixels are inpainted and white pixels are preserved. Tends to work better with prompt strength of 0.5-0.7. Consider using https://replicate.com/andreasjansson/stable-diffusion-inpainting instead.","format":"uri","title":"Mask","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":50,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 10`"} schema={{"default":1,"description":"Number of images to output. If the NSFW filter is triggered, you may get fewer outputs than this.","maximum":10,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={undefined} schema={{"default":0.8,"description":"Prompt strength when using init image. 1.0 corresponds to full destruction of information in init image","title":"Prompt Strength","type":"number","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `K-LMS`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","K-LMS","PNDM"],"title":"scheduler","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":10}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"width (integer)"} qualifierMessage={"**Possible values:** [`128`, `256`, `384`, `448`, `512`, `576`, `640`, `704`, `768`, `832`, `896`, `960`, `1024`]"} schema={{"description":"An enumeration.","enum":[128,256,384,448,512,576,640,704,768,832,896,960,1024],"title":"width","type":"integer"}}></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
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"image"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Image to discuss","format":"uri","title":"Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"max_length"} required={false} schemaName={"Max Length (integer)"} qualifierMessage={"**Possible values:** `>= 1`"} schema={{"default":4000,"description":"Total length of prompt and output in tokens","minimum":1,"title":"Max Length","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"max_new_tokens"} required={false} schemaName={"Max New Tokens (integer)"} qualifierMessage={"**Possible values:** `>= 1`"} schema={{"default":3000,"description":"Maximum number of new tokens to generate","minimum":1,"title":"Max New Tokens","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"num_beams"} required={false} schemaName={"Num Beams (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 10`"} schema={{"default":3,"description":"Number of beams for beam search decoding","maximum":10,"minimum":1,"title":"Num Beams","type":"integer","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={true} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Prompt for mini-gpt4 regarding input image","title":"Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"repetition_penalty"} required={false} schemaName={"Repetition Penalty (number)"} qualifierMessage={"**Possible values:** `>= 0.01` and `<= 5`"} schema={{"default":1,"description":"Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it.","maximum":5,"minimum":0.01,"title":"Repetition Penalty","type":"number","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={"**Possible values:** `>= 0.01` and `<= 2`"} schema={{"default":1,"description":"Temperature for generating tokens, lower = more predictable results","maximum":2,"minimum":0.01,"title":"Temperature","type":"number","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.9,"description":"Sample from the top p percent most likely tokens","maximum":1,"minimum":0,"title":"Top P","type":"number","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["completed","logs","output","start"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={"Output (string)"} qualifierMessage={undefined} schema={{"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>
@@ -34,7 +34,7 @@ Run a single prediction on the model
...
@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"classifier_free_guidance"} required={false} schemaName={"Classifier Free Guidance (integer)"} qualifierMessage={undefined} schema={{"default":3,"description":"Increases the influence of inputs on the output. Higher values produce lower-varience outputs that adhere more closely to inputs.","title":"Classifier Free Guidance","type":"integer","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"continuation"} required={false} schemaName={"Continuation (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"If `True`, generated music will continue from `input_audio`. Otherwise, generated music will mimic `input_audio`'s melody.","title":"Continuation","type":"boolean","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"continuation_end"} required={false} schemaName={"Continuation End (integer)"} qualifierMessage={undefined} schema={{"description":"End time of the audio file to use for continuation. If -1 or None, will default to the end of the audio clip.","minimum":0,"title":"Continuation End","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"continuation_start"} required={false} schemaName={"Continuation Start (integer)"} qualifierMessage={undefined} schema={{"default":0,"description":"Start time of the audio file to use for continuation.","minimum":0,"title":"Continuation Start","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"duration"} required={false} schemaName={"Duration (integer)"} qualifierMessage={undefined} schema={{"default":8,"description":"Duration of the generated audio in seconds.","title":"Duration","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"input_audio"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"An audio file that will influence the generated music. If `continuation` is `True`, the generated music will be a continuation of the audio file. Otherwise, the generated music will mimic the audio file's melody.","format":"uri","title":"Input Audio","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"model_version"} required={false} schemaName={"model_version (string)"} qualifierMessage={"**Possible values:** [`stereo-melody-large`, `stereo-large`, `melody-large`, `large`, `encode-decode`]"} schema={{"description":"An enumeration.","enum":["stereo-melody-large","stereo-large","melody-large","large","encode-decode"],"title":"model_version","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"multi_band_diffusion"} required={false} schemaName={"Multi Band Diffusion (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"If `True`, the EnCodec tokens will be decoded with MultiBand Diffusion. Only works with non-stereo models.","title":"Multi Band Diffusion","type":"boolean","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"normalization_strategy"} required={false} schemaName={"normalization_strategy (string)"} qualifierMessage={"**Possible values:** [`loudness`, `clip`, `peak`, `rms`]"} schema={{"description":"An enumeration.","enum":["loudness","clip","peak","rms"],"title":"normalization_strategy","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"output_format"} required={false} schemaName={"output_format (string)"} qualifierMessage={"**Possible values:** [`wav`, `mp3`]"} schema={{"description":"An enumeration.","enum":["wav","mp3"],"title":"output_format","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"A description of the music you want to generate.","title":"Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Seed for random number generator. If None or -1, a random seed will be used.","title":"Seed","type":"integer","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={undefined} schema={{"default":1,"description":"Controls the 'conservativeness' of the sampling process. Higher temperature means more diversity.","title":"Temperature","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"top_k"} required={false} schemaName={"Top K (integer)"} qualifierMessage={undefined} schema={{"default":250,"description":"Reduces sampling to the k most likely tokens.","title":"Top K","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"top_p"} required={false} schemaName={"Top P (number)"} qualifierMessage={undefined} schema={{"default":0,"description":"Reduces sampling to tokens with cumulative probability of p. When set to `0` (default), top_k sampling is used.","title":"Top P","type":"number","x-order":10}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
</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>
</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={"Output (string)"} qualifierMessage={undefined} schema={{"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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See https://replicate.com/docs/how-does-replicate-work#safety","title":"Disable Safety Checker","type":"boolean","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"worst quality, low quality","description":"Negative Input prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 100`"} schema={{"default":60,"description":"Number of denoising steps 60-70 for best detail, 35 for fast","maximum":100,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"black fluffy gorgeous dangerous cat animal creature, large orange eyes, big fluffy ears, piercing gaze, full moon, dark ambiance, best quality, extremely detailed","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":11}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images.","title":"Disable Safety Checker","type":"boolean","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 10`"} schema={{"default":5,"description":"Guidance scale. A guidance scale of 1 corresponds to doing no classifier free guidance.","maximum":10,"minimum":1,"title":"Guidance Scale","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"input_image"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"The input image, for example a photo of your face.","format":"uri","title":"Input Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"input_image2"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Additional input image (optional)","format":"uri","title":"Input Image2","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"input_image3"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Additional input image (optional)","format":"uri","title":"Input Image3","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"input_image4"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Additional input image (optional)","format":"uri","title":"Input Image4","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry","description":"Negative Prompt. The negative prompt should NOT contain the trigger word.","title":"Negative Prompt","type":"string","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of output images","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"num_steps"} required={false} schemaName={"Num Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 100`"} schema={{"default":20,"description":"Number of sample steps","maximum":100,"minimum":1,"title":"Num Steps","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"A photo of a person img","description":"Prompt. Example: 'a photo of a man/woman img'. The phrase 'img' is the trigger word.","title":"Prompt","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={"**Possible values:** `<= 2147483647`"} schema={{"description":"Seed. Leave blank to use a random number","maximum":2147483647,"minimum":0,"title":"Seed","type":"integer","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"style_name"} required={false} schemaName={"style_name (string)"} qualifierMessage={"**Possible values:** [`(No style)`, `Cinematic`, `Disney Charactor`, `Digital Art`, `Photographic (Default)`, `Fantasy art`, `Neonpunk`, `Enhance`, `Comic book`, `Lowpoly`, `Line art`]"} schema={{"description":"An enumeration.","enum":["(No style)","Cinematic","Disney Charactor","Digital Art","Photographic (Default)","Fantasy art","Neonpunk","Enhance","Comic book","Lowpoly","Line art"],"title":"style_name","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"style_strength_ratio"} required={false} schemaName={"Style Strength Ratio (number)"} qualifierMessage={"**Possible values:** `>= 15` and `<= 50`"} schema={{"default":20,"description":"Style strength (%)","maximum":50,"minimum":15,"title":"Style Strength Ratio","type":"number","x-order":8}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
</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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images","title":"Disable Safety Checker","type":"boolean","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":3,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image","title":"Height","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Input Negative Prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":50,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a rainbow unicorn","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":7}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image","title":"Width","type":"integer","x-order":2}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See https://replicate.com/docs/how-does-replicate-work#safety","title":"Disable Safety Checker","type":"boolean","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `<= 20`"} schema={{"default":3,"description":"Scale for classifier-free guidance. Recommended 4-6","maximum":20,"minimum":0,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image. Recommended 1024 or 1280","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"ugly, deformed, noisy, blurry, distorted","description":"Negative Input prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 100`"} schema={{"default":50,"description":"Number of denoising steps. 20 to 60 steps for more detail, 20 steps for faster results.","maximum":100,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`, `DPM++2MKarras`, `DPMSolver++`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","K_EULER_ANCESTRAL","K_EULER","PNDM","DPM++2MKarras","DPMSolver++"],"title":"scheduler","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":11}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image. Recommended 1024 or 1280","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See https://replicate.com/docs/how-does-replicate-work#safety","title":"Disable Safety Checker","type":"boolean","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance. Recommended 7-8","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"worst quality, low quality","description":"Negative Input prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 100`"} schema={{"default":20,"description":"Number of denoising steps. 20 to 35 steps for more detail, 20 steps for faster results.","maximum":100,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"black fluffy gorgeous dangerous cat animal creature, large orange eyes, big fluffy ears, piercing gaze, full moon, dark ambiance, best quality, extremely detailed","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":11}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See https://replicate.com/docs/how-does-replicate-work#safety","title":"Disable Safety Checker","type":"boolean","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance. Recommended 7-8","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image. Recommended 1024 or 1280","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"worst quality, low quality","description":"Negative Input prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 100`"} schema={{"default":20,"description":"Number of denoising steps. 20 to 60 steps for more detail, 20 steps for faster results.","maximum":100,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"Anime full body portrait of a swordsman holding his weapon in front of him. He is facing the camera with a fierce look on his face. Anime key visual (best quality, HD, ~+~aesthetic~+~:1.2)","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`, `DPM++2MSDE`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM","DPM++2MSDE"],"title":"scheduler","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":11}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image. Recommended 1024 or 1280","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See https://replicate.com/docs/how-does-replicate-work#safety","title":"Disable Safety Checker","type":"boolean","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"lora_scale"} required={false} schemaName={"Lora Scale (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.6,"description":"LoRA additive scale. Only applicable on trained models.","maximum":1,"minimum":0,"title":"Lora Scale","type":"number","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"lora_weights"} required={false} schemaName={"Lora Weights (string)"} qualifierMessage={undefined} schema={{"description":"Replicate LoRA weights to use. Leave blank to use the default weights.","title":"Lora Weights","type":"string","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth","description":"Negative Input prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":40,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"dark shot, front shot, closeup photo of a 25 y.o latino man, perfect eyes, natural skin, skin moles, looks at viewer, cinematic shot","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":11}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["logs","output","start","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1"} required={false} schemaName={"controlnet_1 (string)"} qualifierMessage={"**Possible values:** [`none`, `edge_canny`, `illusion`, `depth_leres`, `depth_midas`, `soft_edge_pidi`, `soft_edge_hed`, `lineart`, `lineart_anime`, `openpose`]"} schema={{"description":"An enumeration.","enum":["none","edge_canny","illusion","depth_leres","depth_midas","soft_edge_pidi","soft_edge_hed","lineart","lineart_anime","openpose"],"title":"controlnet_1","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_conditioning_scale"} required={false} schemaName={"Controlnet 1 Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 4`"} schema={{"default":0.75,"description":"How strong the controlnet conditioning is","maximum":4,"minimum":0,"title":"Controlnet 1 Conditioning Scale","type":"number","x-order":21}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_end"} required={false} schemaName={"Controlnet 1 End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When controlnet conditioning ends","maximum":1,"minimum":0,"title":"Controlnet 1 End","type":"number","x-order":23}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for first controlnet","format":"uri","title":"Controlnet 1 Image","type":"string","x-order":20}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_start"} required={false} schemaName={"Controlnet 1 Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"When controlnet conditioning starts","maximum":1,"minimum":0,"title":"Controlnet 1 Start","type":"number","x-order":22}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2"} required={false} schemaName={"controlnet_2 (string)"} qualifierMessage={"**Possible values:** [`none`, `edge_canny`, `illusion`, `depth_leres`, `depth_midas`, `soft_edge_pidi`, `soft_edge_hed`, `lineart`, `lineart_anime`, `openpose`]"} schema={{"description":"An enumeration.","enum":["none","edge_canny","illusion","depth_leres","depth_midas","soft_edge_pidi","soft_edge_hed","lineart","lineart_anime","openpose"],"title":"controlnet_2","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_conditioning_scale"} required={false} schemaName={"Controlnet 2 Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 4`"} schema={{"default":0.75,"description":"How strong the controlnet conditioning is","maximum":4,"minimum":0,"title":"Controlnet 2 Conditioning Scale","type":"number","x-order":26}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_end"} required={false} schemaName={"Controlnet 2 End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When controlnet conditioning ends","maximum":1,"minimum":0,"title":"Controlnet 2 End","type":"number","x-order":28}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for second controlnet","format":"uri","title":"Controlnet 2 Image","type":"string","x-order":25}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_start"} required={false} schemaName={"Controlnet 2 Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"When controlnet conditioning starts","maximum":1,"minimum":0,"title":"Controlnet 2 Start","type":"number","x-order":27}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3"} required={false} schemaName={"controlnet_3 (string)"} qualifierMessage={"**Possible values:** [`none`, `edge_canny`, `illusion`, `depth_leres`, `depth_midas`, `soft_edge_pidi`, `soft_edge_hed`, `lineart`, `lineart_anime`, `openpose`]"} schema={{"description":"An enumeration.","enum":["none","edge_canny","illusion","depth_leres","depth_midas","soft_edge_pidi","soft_edge_hed","lineart","lineart_anime","openpose"],"title":"controlnet_3","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_conditioning_scale"} required={false} schemaName={"Controlnet 3 Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 4`"} schema={{"default":0.75,"description":"How strong the controlnet conditioning is","maximum":4,"minimum":0,"title":"Controlnet 3 Conditioning Scale","type":"number","x-order":31}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_end"} required={false} schemaName={"Controlnet 3 End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When controlnet conditioning ends","maximum":1,"minimum":0,"title":"Controlnet 3 End","type":"number","x-order":33}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for third controlnet","format":"uri","title":"Controlnet 3 Image","type":"string","x-order":30}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_start"} required={false} schemaName={"Controlnet 3 Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"When controlnet conditioning starts","maximum":1,"minimum":0,"title":"Controlnet 3 Start","type":"number","x-order":32}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API.","title":"Disable Safety Checker","type":"boolean","x-order":18}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"lora_scale"} required={false} schemaName={"Lora Scale (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.6,"description":"LoRA additive scale. Only applicable on trained models.","maximum":1,"minimum":0,"title":"Lora Scale","type":"number","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"lora_weights"} required={false} schemaName={"Lora Weights (string)"} qualifierMessage={undefined} schema={{"description":"Replicate LoRA weights to use. Leave blank to use the default weights.","title":"Lora Weights","type":"string","x-order":17}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Negative Prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":30,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a rainbow unicorn","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"refine"} required={false} schemaName={"refine (string)"} qualifierMessage={"**Possible values:** [`no_refiner`, `base_image_refiner`]"} schema={{"description":"An enumeration.","enum":["no_refiner","base_image_refiner"],"title":"refine","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"refine_steps"} required={false} schemaName={"Refine Steps (integer)"} qualifierMessage={undefined} schema={{"description":"For base_image_refiner, the number of steps to refine, defaults to num_inference_steps","title":"Refine Steps","type":"integer","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":12}}></SchemaItem><SchemaItem collapsible={false} name={"sizing_strategy"} required={false} schemaName={"sizing_strategy (string)"} qualifierMessage={"**Possible values:** [`width_height`, `input_image`, `controlnet_1_image`, `controlnet_2_image`, `controlnet_3_image`, `mask_image`]"} schema={{"description":"An enumeration.","enum":["width_height","input_image","controlnet_1_image","controlnet_2_image","controlnet_3_image","mask_image"],"title":"sizing_strategy","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)","title":"Disable Safety Checker","type":"boolean","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":2,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"high_noise_frac"} required={false} schemaName={"High Noise Frac (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"For expert_ensemble_refiner, the fraction of noise to use","maximum":1,"minimum":0,"title":"High Noise Frac","type":"number","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth","description":"Input Negative Prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":25,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a rainbow unicorn","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"refine"} required={false} schemaName={"refine (string)"} qualifierMessage={"**Possible values:** [`no_refiner`, `expert_ensemble_refiner`, `base_image_refiner`]"} schema={{"description":"An enumeration.","enum":["no_refiner","expert_ensemble_refiner","base_image_refiner"],"title":"refine","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"refine_steps"} required={false} schemaName={"Refine Steps (integer)"} qualifierMessage={undefined} schema={{"description":"For base_image_refiner, the number of steps to refine, defaults to num_inference_steps","title":"Refine Steps","type":"integer","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`, `DPM++_SDE_Karras`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM","DPM++_SDE_Karras"],"title":"scheduler","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":11}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See https://replicate.com/docs/how-does-replicate-work#safety","title":"Disable Safety Checker","type":"boolean","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 20`"} schema={{"default":2,"description":"Scale for classifier-free guidance","maximum":20,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth","description":"Negative Input prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 20`"} schema={{"default":6,"description":"Number of denoising steps","maximum":20,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"dark shot, front shot, closeup photo of a 25 y.o latino man, perfect eyes, natural skin, skin moles, looks at viewer, cinematic shot","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`, `LCM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM","LCM"],"title":"scheduler","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":11}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"condition_scale"} required={false} schemaName={"Condition Scale (number)"} qualifierMessage={"**Possible values:** `<= 2`"} schema={{"default":1.1,"description":"The bigger this number is, the more ControlNet interferes","maximum":2,"minimum":0,"title":"Condition Scale","type":"number","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"img2img"} required={false} schemaName={"Img2Img (boolean)"} qualifierMessage={undefined} schema={{"description":"Use img2img pipeline, it will use the image input both as the control image and the base image.","title":"Img2Img","type":"boolean","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"lora_scale"} required={false} schemaName={"Lora Scale (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.95,"description":"LoRA additive scale. Only applicable on trained models.","maximum":1,"minimum":0,"title":"Lora Scale","type":"number","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"lora_weights"} required={false} schemaName={"Lora Weights (string)"} qualifierMessage={undefined} schema={{"description":"Replicate LoRA weights to use. Leave blank to use the default weights.","title":"Lora Weights","type":"string","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Input Negative Prompt","title":"Negative Prompt","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":30,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a rainbow unicorn","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"refine"} required={false} schemaName={"refine (string)"} qualifierMessage={"**Possible values:** [`no_refiner`, `base_image_refiner`]"} schema={{"description":"An enumeration.","enum":["no_refiner","base_image_refiner"],"title":"refine","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"refine_steps"} required={false} schemaName={"Refine Steps (integer)"} qualifierMessage={undefined} schema={{"default":10,"description":"For base_image_refiner, the number of steps to refine","title":"Refine Steps","type":"integer","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":10}}></SchemaItem><SchemaItem collapsible={false} name={"strength"} required={false} schemaName={"Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"When img2img is active, the denoising strength. 1 means total destruction of the input image.","maximum":1,"minimum":0,"title":"Strength","type":"number","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"high_noise_frac"} required={false} schemaName={"High Noise Frac (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"For expert_ensemble_refiner, the fraction of noise to use","maximum":1,"minimum":0,"title":"High Noise Frac","type":"number","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"lora_scale"} required={false} schemaName={"Lora Scale (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.6,"description":"LoRA additive scale. Only applicable on trained models.","maximum":1,"minimum":0,"title":"Lora Scale","type":"number","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Input Negative Prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":50,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a rainbow unicorn","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"refine"} required={false} schemaName={"refine (string)"} qualifierMessage={"**Possible values:** [`no_refiner`, `expert_ensemble_refiner`, `base_image_refiner`]"} schema={{"description":"An enumeration.","enum":["no_refiner","expert_ensemble_refiner","base_image_refiner"],"title":"refine","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"refine_steps"} required={false} schemaName={"Refine Steps (integer)"} qualifierMessage={undefined} schema={{"description":"For base_image_refiner, the number of steps to refine, defaults to num_inference_steps","title":"Refine Steps","type":"integer","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"replicate_weights"} required={false} schemaName={"Replicate Weights (string)"} qualifierMessage={undefined} schema={{"description":"Replicate LoRA weights to use. Leave blank to use the default weights.","title":"Replicate Weights","type":"string","x-order":17}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":11}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["output","completed","logs","start"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
</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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1"} required={false} schemaName={"controlnet_1 (string)"} qualifierMessage={"**Possible values:** [`none`, `edge_canny`, `illusion`, `depth_leres`, `depth_midas`, `soft_edge_pidi`, `soft_edge_hed`, `lineart`, `lineart_anime`, `openpose`]"} schema={{"description":"An enumeration.","enum":["none","edge_canny","illusion","depth_leres","depth_midas","soft_edge_pidi","soft_edge_hed","lineart","lineart_anime","openpose"],"title":"controlnet_1","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_conditioning_scale"} required={false} schemaName={"Controlnet 1 Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 4`"} schema={{"default":0.75,"description":"How strong the controlnet conditioning is","maximum":4,"minimum":0,"title":"Controlnet 1 Conditioning Scale","type":"number","x-order":21}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_end"} required={false} schemaName={"Controlnet 1 End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When controlnet conditioning ends","maximum":1,"minimum":0,"title":"Controlnet 1 End","type":"number","x-order":23}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for first controlnet","format":"uri","title":"Controlnet 1 Image","type":"string","x-order":20}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_1_start"} required={false} schemaName={"Controlnet 1 Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"When controlnet conditioning starts","maximum":1,"minimum":0,"title":"Controlnet 1 Start","type":"number","x-order":22}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2"} required={false} schemaName={"controlnet_2 (string)"} qualifierMessage={"**Possible values:** [`none`, `edge_canny`, `illusion`, `depth_leres`, `depth_midas`, `soft_edge_pidi`, `soft_edge_hed`, `lineart`, `lineart_anime`, `openpose`]"} schema={{"description":"An enumeration.","enum":["none","edge_canny","illusion","depth_leres","depth_midas","soft_edge_pidi","soft_edge_hed","lineart","lineart_anime","openpose"],"title":"controlnet_2","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_conditioning_scale"} required={false} schemaName={"Controlnet 2 Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 4`"} schema={{"default":0.75,"description":"How strong the controlnet conditioning is","maximum":4,"minimum":0,"title":"Controlnet 2 Conditioning Scale","type":"number","x-order":26}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_end"} required={false} schemaName={"Controlnet 2 End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When controlnet conditioning ends","maximum":1,"minimum":0,"title":"Controlnet 2 End","type":"number","x-order":28}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for second controlnet","format":"uri","title":"Controlnet 2 Image","type":"string","x-order":25}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_2_start"} required={false} schemaName={"Controlnet 2 Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"When controlnet conditioning starts","maximum":1,"minimum":0,"title":"Controlnet 2 Start","type":"number","x-order":27}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3"} required={false} schemaName={"controlnet_3 (string)"} qualifierMessage={"**Possible values:** [`none`, `edge_canny`, `illusion`, `depth_leres`, `depth_midas`, `soft_edge_pidi`, `soft_edge_hed`, `lineart`, `lineart_anime`, `openpose`]"} schema={{"description":"An enumeration.","enum":["none","edge_canny","illusion","depth_leres","depth_midas","soft_edge_pidi","soft_edge_hed","lineart","lineart_anime","openpose"],"title":"controlnet_3","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_conditioning_scale"} required={false} schemaName={"Controlnet 3 Conditioning Scale (number)"} qualifierMessage={"**Possible values:** `<= 4`"} schema={{"default":0.75,"description":"How strong the controlnet conditioning is","maximum":4,"minimum":0,"title":"Controlnet 3 Conditioning Scale","type":"number","x-order":31}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_end"} required={false} schemaName={"Controlnet 3 End (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":1,"description":"When controlnet conditioning ends","maximum":1,"minimum":0,"title":"Controlnet 3 End","type":"number","x-order":33}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for third controlnet","format":"uri","title":"Controlnet 3 Image","type":"string","x-order":30}}></SchemaItem><SchemaItem collapsible={false} name={"controlnet_3_start"} required={false} schemaName={"Controlnet 3 Start (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"When controlnet conditioning starts","maximum":1,"minimum":0,"title":"Controlnet 3 Start","type":"number","x-order":32}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)","title":"Disable Safety Checker","type":"boolean","x-order":18}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"lora_scale"} required={false} schemaName={"Lora Scale (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.6,"description":"LoRA additive scale. Only applicable on trained models.","maximum":1,"minimum":0,"title":"Lora Scale","type":"number","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"lora_weights"} required={false} schemaName={"Lora Weights (string)"} qualifierMessage={undefined} schema={{"description":"Replicate LoRA weights to use. Leave blank to use the default weights.","title":"Lora Weights","type":"string","x-order":17}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Negative Prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":30,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a rainbow unicorn","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"refine"} required={false} schemaName={"refine (string)"} qualifierMessage={"**Possible values:** [`no_refiner`, `base_image_refiner`]"} schema={{"description":"An enumeration.","enum":["no_refiner","base_image_refiner"],"title":"refine","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"refine_steps"} required={false} schemaName={"Refine Steps (integer)"} qualifierMessage={undefined} schema={{"description":"For base_image_refiner, the number of steps to refine, defaults to num_inference_steps","title":"Refine Steps","type":"integer","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":12}}></SchemaItem><SchemaItem collapsible={false} name={"sizing_strategy"} required={false} schemaName={"sizing_strategy (string)"} qualifierMessage={"**Possible values:** [`width_height`, `input_image`, `controlnet_1_image`, `controlnet_2_image`, `controlnet_3_image`, `mask_image`]"} schema={{"description":"An enumeration.","enum":["width_height","input_image","controlnet_1_image","controlnet_2_image","controlnet_3_image","mask_image"],"title":"sizing_strategy","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See https://replicate.com/docs/how-does-replicate-work#safety","title":"Disable Safety Checker","type":"boolean","x-order":18}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Height of output image","title":"Height","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"high_noise_frac"} required={false} schemaName={"High Noise Frac (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"For expert_ensemble_refiner, the fraction of noise to use","maximum":1,"minimum":0,"title":"High Noise Frac","type":"number","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"lora_scale"} required={false} schemaName={"Lora Scale (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.6,"description":"LoRA additive scale. Only applicable on trained models.","maximum":1,"minimum":0,"title":"Lora Scale","type":"number","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Input Negative Prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":50,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a rainbow unicorn","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"refine"} required={false} schemaName={"refine (string)"} qualifierMessage={"**Possible values:** [`no_refiner`, `expert_ensemble_refiner`, `base_image_refiner`]"} schema={{"description":"An enumeration.","enum":["no_refiner","expert_ensemble_refiner","base_image_refiner"],"title":"refine","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"refine_steps"} required={false} schemaName={"Refine Steps (integer)"} qualifierMessage={undefined} schema={{"description":"For base_image_refiner, the number of steps to refine, defaults to num_inference_steps","title":"Refine Steps","type":"integer","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"replicate_weights"} required={false} schemaName={"Replicate Weights (string)"} qualifierMessage={undefined} schema={{"description":"Replicate LoRA weights to use. Leave blank to use the default weights.","title":"Replicate Weights","type":"string","x-order":17}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":11}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1024,"description":"Width of output image","title":"Width","type":"integer","x-order":4}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"batch_size"} required={false} schemaName={"Batch Size (integer)"} qualifierMessage={undefined} schema={{"default":1,"description":"Number of output","title":"Batch Size","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={undefined} schema={{"default":15,"description":"Set the scale for guidanece","title":"Guidance Scale","type":"number","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"A synthetic view image for generating the 3D modeld. To get the best result, remove background from the input image","format":"uri","title":"Image","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Text prompt for generating the 3D model, ignored if an image is provide below","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"render_mode"} required={false} schemaName={"render_mode (string)"} qualifierMessage={"**Possible values:** [`nerf`, `stf`]"} schema={{"description":"An enumeration.","enum":["nerf","stf"],"title":"render_mode","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"render_size"} required={false} schemaName={"Render Size (integer)"} qualifierMessage={undefined} schema={{"default":128,"description":"Set the size of the a renderer, higher values take longer to render","title":"Render Size","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"save_mesh"} required={false} schemaName={"Save Mesh (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Save the latents as meshes.","title":"Save Mesh","type":"boolean","x-order":6}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["completed","start","logs","output"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"apply_watermark"} required={false} schemaName={"Apply Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.","title":"Apply Watermark","type":"boolean","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"batched_prompt"} required={false} schemaName={"Batched Prompt (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"When active, your prompt will be split by newlines and images will be generated for each individual line","title":"Batched Prompt","type":"boolean","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See https://replicate.com/docs/how-does-replicate-work#safety","title":"Disable Safety Checker","type":"boolean","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":50,"minimum":1,"title":"Guidance Scale","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Height of output image","title":"Height","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image for img2img or inpaint mode","format":"uri","title":"Image","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"lora_scale"} required={false} schemaName={"Lora Scale (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.6,"description":"LoRA additive scale. Only applicable on trained models.","maximum":1,"minimum":0,"title":"Lora Scale","type":"number","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.","format":"uri","title":"Mask","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"default":"scary, cartoon, painting","description":"Negative Input prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":25,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"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","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"prompt_strength"} required={false} schemaName={"Prompt Strength (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image","maximum":1,"minimum":0,"title":"Prompt Strength","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"replicate_weights"} required={false} schemaName={"Replicate Weights (string)"} qualifierMessage={undefined} schema={{"description":"Replicate LoRA weights to use. Leave blank to use the default weights.","title":"Replicate Weights","type":"string","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `DPMSolverMultistep`, `HeunDiscrete`, `KarrasDPM`, `K_EULER_ANCESTRAL`, `K_EULER`, `PNDM`]"} schema={{"description":"An enumeration.","enum":["DDIM","DPMSolverMultistep","HeunDiscrete","KarrasDPM","K_EULER_ANCESTRAL","K_EULER","PNDM"],"title":"scheduler","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":12}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Width of output image","title":"Width","type":"integer","x-order":5}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","logs","output","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"disable_safety_checker"} required={false} schemaName={"Disable Safety Checker (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)","title":"Disable Safety Checker","type":"boolean","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 20`"} schema={{"default":7.5,"description":"Scale for classifier-free guidance","maximum":20,"minimum":1,"title":"Guidance Scale","type":"number","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"height (integer)"} qualifierMessage={"**Possible values:** [`64`, `128`, `192`, `256`, `320`, `384`, `448`, `512`, `576`, `640`, `704`, `768`, `832`, `896`, `960`, `1024`]"} schema={{"description":"An enumeration.","enum":[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024],"title":"height","type":"integer"}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Initial image to generate variations of. Will be resized to height x width","format":"uri","title":"Image","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"mask"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Black and white image to use as mask for inpainting over the image provided. White pixels are inpainted and black pixels are preserved.","format":"uri","title":"Mask","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Specify things to not see in the output","title":"Negative Prompt","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":50,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"num_outputs"} required={false} schemaName={"Num Outputs (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 4`"} schema={{"default":1,"description":"Number of images to generate.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"a vision of paradise. unreal engine","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"scheduler"} required={false} schemaName={"scheduler (string)"} qualifierMessage={"**Possible values:** [`DDIM`, `K_EULER`, `DPMSolverMultistep`, `K_EULER_ANCESTRAL`, `PNDM`, `KLMS`]"} schema={{"description":"An enumeration.","enum":["DDIM","K_EULER","DPMSolverMultistep","K_EULER_ANCESTRAL","PNDM","KLMS"],"title":"scheduler","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":10}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"width (integer)"} qualifierMessage={"**Possible values:** [`64`, `128`, `192`, `256`, `320`, `384`, `448`, `512`, `576`, `640`, `704`, `768`, `832`, `896`, `960`, `1024`]"} schema={{"description":"An enumeration.","enum":[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024],"title":"width","type":"integer"}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
</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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
</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>
</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"}>output</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={false} name={"file"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"File","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"text"} required={false} schemaName={"Text (string)"} qualifierMessage={undefined} schema={{"title":"Text","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></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\": [\n {\n \"file\": \"string\",\n \"text\": \"string\"\n }\n ],\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>
</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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"file"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Or an audio file","format":"uri","title":"File","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"file_string"} required={false} schemaName={"File String (string)"} qualifierMessage={undefined} schema={{"description":"Either provide: Base64 encoded audio file,","title":"File String","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"file_url"} required={false} schemaName={"File Url (string)"} qualifierMessage={undefined} schema={{"description":"Or provide: A direct audio file URL","title":"File Url","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"group_segments"} required={false} schemaName={"Group Segments (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Group segments of same speaker shorter apart than 2 seconds","title":"Group Segments","type":"boolean","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"language"} required={false} schemaName={"Language (string)"} qualifierMessage={undefined} schema={{"description":"Language of the spoken words as a language code like 'en'. Leave empty to auto detect language.","title":"Language","type":"string","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"num_speakers"} required={false} schemaName={"Num Speakers (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 50`"} schema={{"description":"Number of speakers, leave empty to autodetect.","maximum":50,"minimum":1,"title":"Num Speakers","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"offset_seconds"} required={false} schemaName={"Offset Seconds (integer)"} qualifierMessage={undefined} schema={{"default":0,"description":"Offset in seconds, used for chunked inputs","minimum":0,"title":"Offset Seconds","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Vocabulary: provide names, acronyms and loanwords in a list. Use punctuation for best accuracy.","title":"Prompt","type":"string","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"transcript_output_format"} required={false} schemaName={"transcript_output_format (string)"} qualifierMessage={"**Possible values:** [`words_only`, `segments_only`, `both`]"} schema={{"description":"An enumeration.","enum":["words_only","segments_only","both"],"title":"transcript_output_format","type":"string"}}></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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["start","output","logs","completed"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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"}>output</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"language"} required={false} schemaName={"Language (string)"} qualifierMessage={undefined} schema={{"title":"Language","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"num_speakers"} required={false} schemaName={"Num Speakers (integer)"} qualifierMessage={undefined} schema={{"title":"Num Speakers","type":"integer"}}></SchemaItem><SchemaItem collapsible={false} name={"segments"} required={true} schemaName={"undefined[]"} qualifierMessage={undefined} schema={{"items":{},"title":"Segments","type":"array"}}></SchemaItem></div></details></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\": {\n \"language\": \"string\",\n \"num_speakers\": 0,\n \"segments\": [\n null\n ]\n },\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>
@@ -34,11 +34,11 @@ Run a single prediction on the model
...
@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
## 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>
<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":"prefer","schema":{"title":"Prefer","type":"string"}}}></ParamsItem><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={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"format":"date-time","title":"Created At","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"Id (string)"} qualifierMessage={undefined} schema={{"title":"Id","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"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"audio"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Audio file","format":"uri","title":"Audio","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"compression_ratio_threshold"} required={false} schemaName={"Compression Ratio Threshold (number)"} qualifierMessage={undefined} schema={{"default":2.4,"description":"if the gzip compression ratio is higher than this value, treat the decoding as failed","title":"Compression Ratio Threshold","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"condition_on_previous_text"} required={false} schemaName={"Condition On Previous Text (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"if True, provide the previous output of the model as a prompt for the next window; disabling may make the text inconsistent across windows, but the model becomes less prone to getting stuck in a failure loop","title":"Condition On Previous Text","type":"boolean","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"initial_prompt"} required={false} schemaName={"Initial Prompt (string)"} qualifierMessage={undefined} schema={{"description":"optional text to provide as a prompt for the first window.","title":"Initial Prompt","type":"string","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"language"} required={false} schemaName={"language (string)"} qualifierMessage={"**Possible values:** [`af`, `am`, `ar`, `as`, `az`, `ba`, `be`, `bg`, `bn`, `bo`, `br`, `bs`, `ca`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu`, `fa`, `fi`, `fo`, `fr`, `gl`, `gu`, `ha`, `haw`, `he`, `hi`, `hr`, `ht`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `jw`, `ka`, `kk`, `km`, `kn`, `ko`, `la`, `lb`, `ln`, `lo`, `lt`, `lv`, `mg`, `mi`, `mk`, `ml`, `mn`, `mr`, `ms`, `mt`, `my`, `ne`, `nl`, `nn`, `no`, `oc`, `pa`, `pl`, `ps`, `pt`, `ro`, `ru`, `sa`, `sd`, `si`, `sk`, `sl`, `sn`, `so`, `sq`, `sr`, `su`, `sv`, `sw`, `ta`, `te`, `tg`, `th`, `tk`, `tl`, `tr`, `tt`, `uk`, `ur`, `uz`, `vi`, `yi`, `yo`, `yue`, `zh`, `Afrikaans`, `Albanian`, `Amharic`, `Arabic`, `Armenian`, `Assamese`, `Azerbaijani`, `Bashkir`, `Basque`, `Belarusian`, `Bengali`, `Bosnian`, `Breton`, `Bulgarian`, `Burmese`, `Cantonese`, `Castilian`, `Catalan`, `Chinese`, `Croatian`, `Czech`, `Danish`, `Dutch`, `English`, `Estonian`, `Faroese`, `Finnish`, `Flemish`, `French`, `Galician`, `Georgian`, `German`, `Greek`, `Gujarati`, `Haitian`, `Haitian Creole`, `Hausa`, `Hawaiian`, `Hebrew`, `Hindi`, `Hungarian`, `Icelandic`, `Indonesian`, `Italian`, `Japanese`, `Javanese`, `Kannada`, `Kazakh`, `Khmer`, `Korean`, `Lao`, `Latin`, `Latvian`, `Letzeburgesch`, `Lingala`, `Lithuanian`, `Luxembourgish`, `Macedonian`, `Malagasy`, `Malay`, `Malayalam`, `Maltese`, `Mandarin`, `Maori`, `Marathi`, `Moldavian`, `Moldovan`, `Mongolian`, `Myanmar`, `Nepali`, `Norwegian`, `Nynorsk`, `Occitan`, `Panjabi`, `Pashto`, `Persian`, `Polish`, `Portuguese`, `Punjabi`, `Pushto`, `Romanian`, `Russian`, `Sanskrit`, `Serbian`, `Shona`, `Sindhi`, `Sinhala`, `Sinhalese`, `Slovak`, `Slovenian`, `Somali`, `Spanish`, `Sundanese`, `Swahili`, `Swedish`, `Tagalog`, `Tajik`, `Tamil`, `Tatar`, `Telugu`, `Thai`, `Tibetan`, `Turkish`, `Turkmen`, `Ukrainian`, `Urdu`, `Uzbek`, `Valencian`, `Vietnamese`, `Welsh`, `Yiddish`, `Yoruba`]"} schema={{"description":"An enumeration.","enum":["af","am","ar","as","az","ba","be","bg","bn","bo","br","bs","ca","cs","cy","da","de","el","en","es","et","eu","fa","fi","fo","fr","gl","gu","ha","haw","he","hi","hr","ht","hu","hy","id","is","it","ja","jw","ka","kk","km","kn","ko","la","lb","ln","lo","lt","lv","mg","mi","mk","ml","mn","mr","ms","mt","my","ne","nl","nn","no","oc","pa","pl","ps","pt","ro","ru","sa","sd","si","sk","sl","sn","so","sq","sr","su","sv","sw","ta","te","tg","th","tk","tl","tr","tt","uk","ur","uz","vi","yi","yo","yue","zh","Afrikaans","Albanian","Amharic","Arabic","Armenian","Assamese","Azerbaijani","Bashkir","Basque","Belarusian","Bengali","Bosnian","Breton","Bulgarian","Burmese","Cantonese","Castilian","Catalan","Chinese","Croatian","Czech","Danish","Dutch","English","Estonian","Faroese","Finnish","Flemish","French","Galician","Georgian","German","Greek","Gujarati","Haitian","Haitian Creole","Hausa","Hawaiian","Hebrew","Hindi","Hungarian","Icelandic","Indonesian","Italian","Japanese","Javanese","Kannada","Kazakh","Khmer","Korean","Lao","Latin","Latvian","Letzeburgesch","Lingala","Lithuanian","Luxembourgish","Macedonian","Malagasy","Malay","Malayalam","Maltese","Mandarin","Maori","Marathi","Moldavian","Moldovan","Mongolian","Myanmar","Nepali","Norwegian","Nynorsk","Occitan","Panjabi","Pashto","Persian","Polish","Portuguese","Punjabi","Pushto","Romanian","Russian","Sanskrit","Serbian","Shona","Sindhi","Sinhala","Sinhalese","Slovak","Slovenian","Somali","Spanish","Sundanese","Swahili","Swedish","Tagalog","Tajik","Tamil","Tatar","Telugu","Thai","Tibetan","Turkish","Turkmen","Ukrainian","Urdu","Uzbek","Valencian","Vietnamese","Welsh","Yiddish","Yoruba"],"title":"language","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"logprob_threshold"} required={false} schemaName={"Logprob Threshold (number)"} qualifierMessage={undefined} schema={{"default":-1,"description":"if the average log probability is lower than this value, treat the decoding as failed","title":"Logprob Threshold","type":"number","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"model"} required={false} schemaName={"Model (string)"} qualifierMessage={undefined} schema={{"default":"large-v3","description":"This version only supports Whisper-large-v3.","title":"Model","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"no_speech_threshold"} required={false} schemaName={"No Speech Threshold (number)"} qualifierMessage={undefined} schema={{"default":0.6,"description":"if the probability of the <|nospeech|> token is higher than this value AND the decoding has failed due to `logprob_threshold`, consider the segment as silence","title":"No Speech Threshold","type":"number","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"patience"} required={false} schemaName={"Patience (number)"} qualifierMessage={undefined} schema={{"description":"optional patience value to use in beam decoding, as in https://arxiv.org/abs/2204.05424, the default (1.0) is equivalent to conventional beam search","title":"Patience","type":"number","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"suppress_tokens"} required={false} schemaName={"Suppress Tokens (string)"} qualifierMessage={undefined} schema={{"default":"-1","description":"comma-separated list of token ids to suppress during sampling; '-1' will suppress most special characters except common punctuations","title":"Suppress Tokens","type":"string","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"temperature"} required={false} schemaName={"Temperature (number)"} qualifierMessage={undefined} schema={{"default":0,"description":"temperature to use for sampling","title":"Temperature","type":"number","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"temperature_increment_on_fallback"} required={false} schemaName={"Temperature Increment On Fallback (number)"} qualifierMessage={undefined} schema={{"default":0.2,"description":"temperature to increase when falling back when the decoding fails to meet either of the thresholds below","title":"Temperature Increment On Fallback","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"transcription"} required={false} schemaName={"transcription (string)"} qualifierMessage={"**Possible values:** [`plain text`, `srt`, `vtt`]"} schema={{"description":"An enumeration.","enum":["plain text","srt","vtt"],"title":"transcription","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"translate"} required={false} schemaName={"Translate (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Translate the text to English when set to True","title":"Translate","type":"boolean","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><SchemaItem collapsible={false} name={"webhook"} required={false} schemaName={"uri"} qualifierMessage={"**Possible values:** `non-empty` and `<= 65536 characters`"} schema={{"format":"uri","maxLength":65536,"minLength":1,"title":"Webhook","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"webhook_events_filter"} required={false} schemaName={"WebhookEvent (string)[]"} qualifierMessage={"**Possible values:** [`start`, `output`, `logs`, `completed`]"} schema={{"default":["completed","start","logs","output"],"items":{"description":"An enumeration.","enum":["start","output","logs","completed"],"title":"WebhookEvent","type":"string"},"type":"array","uniqueItems":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
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>
</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"}>output</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"detected_language"} required={true} schemaName={"Detected Language (string)"} qualifierMessage={undefined} schema={{"title":"Detected Language","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"segments"} required={false} schemaName={"Segments"} qualifierMessage={undefined} schema={{"title":"Segments"}}></SchemaItem><SchemaItem collapsible={false} name={"srt_file"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Srt File","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"transcription"} required={true} schemaName={"Transcription (string)"} qualifierMessage={undefined} schema={{"title":"Transcription","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"translation"} required={false} schemaName={"Translation (string)"} qualifierMessage={undefined} schema={{"title":"Translation","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"txt_file"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Txt File","type":"string"}}></SchemaItem></div></details></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\": {\n \"detected_language\": \"string\",\n \"srt_file\": \"string\",\n \"transcription\": \"string\",\n \"translation\": \"string\",\n \"txt_file\": \"string\"\n },\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>
</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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>
</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>
</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={{"items":{"format":"uri","type":"string"},"title":"Output","type":"array"}}></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\": [\n \"string\"\n ],\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>