Commit d9c3b231 authored by Your Name's avatar Your Name

fix file path

parent fd2132ba
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NG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TgilAtODHuJlwNyePjB6ycLzmTaxL6TchnyE+SUKkWNEYEl8ZNxDOaklRoEnHQBbLWzGGMOAEdPiirnoK+QAIKuY71fKVM917SaElJ5pdiGrzVOg2ALI6JT4PlG/Ci6MhTXeUWPePYcIFUA+F5WmAutM6ID1OzSRMUNAApQHB8gRTW12heiWWYNBUAijtUdCzJidH4lulcpsS4+L7U49wRECMaU3AH8aoFbdrS11wuzNz8fb2fNMuXvbBghhOtBd9ByzJtTnA1U3kQQL3WwL4QMaNpUfp7yA04Yu2iDdCaUU2xnLduEgY337GZQ8LOsQk2jW45gaPdMXRnzYryGMJgMwwFHQ0G39HVQ6Ypj/d09VgEO1CarseRWVFfm9y0c1rrxZfCatTSjRM1r28UV67XvjkiK1SbehM8bdl8d6YI2mFFOczaMPmDxjw02hmG+0bKJ+uvlpFVYFxMJjffZNiMbkViC8rwhAvBQpgLQ3FJwK3I68Kk6q763do1okt5F6q+k2Qp0x2fKtZZDbAhMbkq7hS5jPEiAL1CDbvI45DyOQ/g38N1HVPltlrZz4vtf3cFhy1icNTpwe940usPjwbD3tFh/7j3j2c37GrNLHdpuz1XgPq6Wwtu255ZEZUbZOPo9d5XrGVTs89Hop4wJ7+NroESXWLd3jvsH/ZQOno4oaZW3A2p2rG8V8GqVdt7738u/mh6N4spN73IBGTjovqA+wfq1sdAV5GFN4rnzehCzBaYF0C62eDhvYy3Wzx+xikK5/C4opJTH41/QIe4gYzpEHKFAIhZRGPF9tj4lv54gazdSs18R3TsBe/n/sOtK9MfyX5B5ZV1R5CFnVl2HdcLCoxGK6woTqCbZnov7rRWgTfjuwkg++4ym5jx5En6Fa/Q8D/0HuFrbvo2bIBkzqGF0nSem+3Rs3zx8x9jn4hy
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/all-mpnet-base-v2/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/all-mpnet-base-v2"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"text"} required={false} schemaName={"Text (string)"} qualifierMessage={undefined} schema={{"description":"A single string to encode.","title":"Text","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"text_batch"} required={false} schemaName={"Text Batch (string)"} qualifierMessage={undefined} schema={{"description":"A JSON-formatted list of strings to encode.","title":"Text Batch","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":["output","completed","start","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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NGVZyi9ktC7QHDCLXQJlGPGZwoLCIm/QVYqeGSt4AFV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tXW0OXQWM+Gt/XARynpGHXw6OgFKDJwsLt3dwa6LGYAhGFFbTPJPQdXMt7ni1MrRSz905Qli2KPpJ4JyW6xt2K7zALjGAQ1lG1iHl6EPbxTPG+EPQT3HnAGq9XpKNbtS4ukJj+9xwoBzeFxScN8U9b5GW+TDit3ouUYA+ABcptkz6m0THT+S1b682dkH0bFOvpz76/O8hL0hz19UfpZrXJTBDjN2O3mdLDBabaKiOIBOY1fR7bi3tep0dnpxCcjT/INdZFu3o+gDfnSA3xPnBv7br5mZxwDJnkN7ofEstZO1k/HFf/8BziA5pw==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/animate-diff/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/animate-diff"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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 `<= 10`"} schema={{"default":7.5,"description":"guidance scale","maximum":10,"minimum":1,"title":"Guidance Scale","type":"number","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"motion_module"} required={false} schemaName={"motion_module (string)"} qualifierMessage={"**Possible values:** [`mm_sd_v14`, `mm_sd_v15`, `mm_sd_v15_v2`]"} schema={{"description":"An enumeration.","enum":["mm_sd_v14","mm_sd_v15","mm_sd_v15_v2"],"title":"motion_module","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"n_prompt"} required={false} schemaName={"N Prompt (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Negative prompt","title":"N Prompt","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"path"} required={false} schemaName={"path (string)"} qualifierMessage={"**Possible values:** [`toonyou_beta3.safetensors`, `lyriel_v16.safetensors`, `rcnzCartoon3d_v10.safetensors`, `majicmixRealistic_v5Preview.safetensors`, `realisticVisionV40_v20Novae.safetensors`]"} schema={{"description":"An enumeration.","enum":["toonyou_beta3.safetensors","lyriel_v16.safetensors","rcnzCartoon3d_v10.safetensors","majicmixRealistic_v5Preview.safetensors","realisticVisionV40_v20Novae.safetensors"],"title":"path","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"masterpiece, best quality, 1girl, solo, cherry blossoms, hanami, pink flower, white flower, spring season, wisteria, petals, flower, plum blossoms, outdoors, falling petals, white hair, black eyes","description":"Input prompt","title":"Prompt","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Seed (0 = random, maximum: 2147483647)","title":"Seed","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"steps"} required={false} schemaName={"Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 100`"} schema={{"default":25,"description":"Number of inference steps","maximum":100,"minimum":1,"title":"Steps","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
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ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VODpnsOqZglswy2316Ti/9/AfaJH2U
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/any-comfyui-workflow/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/any-comfyui-workflow"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/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CRZvvxriPMrMS8x5LJkXkvsYcV4g9UPBeR00F/haRr1c40b9xPJao1draetqf5ksd71b89gNhVsWx7/OPgEletwm17A/6g8xjTGACTUdoUifenHbf2k4PeWl3yQUuYNOGGQx5abjmng/FklzjfmKuo0wj+rEgb8o3reTB1JihWkHpI+PS6rYlYx3O7z+irsC3MNxQyWnSzT+Gh1S1AhmW8AVAiAlQhor9oyNP14UBfQTecoULDSn4sxCg280bH4WdmrZHRQ9qcRoteSa4hi6eqafxXVL8Hz++RKTsPguJjFj0pP0HjsA/J56N/DPfKtjHQtI5h5aOU2j3GyxnuWLn/8AM/sqxQ==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/audio-to-waveform/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/audio-to-waveform"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={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 to create waveform from","format":"uri","title":"Audio","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"bar_count"} required={false} schemaName={"Bar Count (integer)"} qualifierMessage={undefined} schema={{"default":100,"description":"Number of bars in waveform","title":"Bar Count","type":"integer","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"bar_width"} required={false} schemaName={"Bar Width (number)"} qualifierMessage={undefined} schema={{"default":0.4,"description":"Width of bars in waveform. 1 represents full width, 0.5 represents half width, etc.","title":"Bar Width","type":"number","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"bars_color"} required={false} schemaName={"Bars Color (string)"} qualifierMessage={undefined} schema={{"default":"#ffffff","description":"Color of waveform bars","title":"Bars Color","type":"string","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"bg_color"} required={false} schemaName={"Bg Color (string)"} qualifierMessage={undefined} schema={{"default":"#000000","description":"Background color of waveform","title":"Bg Color","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"caption_text"} required={false} schemaName={"Caption Text (string)"} qualifierMessage={undefined} schema={{"default":"","description":"Caption text for the video","title":"Caption Text","type":"string","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"fg_alpha"} required={false} schemaName={"Fg Alpha (number)"} qualifierMessage={undefined} schema={{"default":0.75,"description":"Opacity of foreground waveform","title":"Fg Alpha","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":["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
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4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Iuqzs8eC/+8wUwKubnHnoOPAuLY7vwUvG+FTg3Sj49zbsS1jp+esPkrpgDQDh+3XEs+R3tvcA2KbMK97UuDHVF97e2b9Rxl/EbJ+5rKJScojoHs9dq/vyxizA/s2xPtv8MiE+V973J1b4pAVkpU4vhhxClcBa5Sfl526oWPi/PPV7jwxbdbG3e3Bprf4XMU/BwHX+Avnrw03ykQcu0Q/3myzFzqG+R68c9/ABizuQ4=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/bark/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/bark"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c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Ytl0yStIP1l67SngUn8bjq28ybHq3PmITyvCEmXMhzExazqF46wg60Kk6q17Hm1Q7lHfChOeHfaxCTK7KWbWQCQ6YUCDUoIMHjyif8wg+AxwDMT6u61HwYzlVbo920Jr7x4dd+D0dd3uD4/6ge3zUP+n9E9jJrb4mVzNaNZW5i2Y1AHm0dtSoF+ox4OW7/9b1u7fvsmsE77kf1jKrm19jafe+Vl6nJmYUnQk/EM9+G17CSbS6xd896h11MXDQcyk1OeiG+/putDvGeFn82lcXLq7QtJ08odzUOOPzjYuWO7zXILYeBlAdMfCN4rqLGoiFBQYZ0G82IVXsVibPz7hsZj1Yh8cVlZyGqPEdWsF1dwyzmCvciNsHC1+xfaDxhYf3FsVcFpAcC8vruf9w7XL+R/KyoOoVy5Ygu/fesjt0haWkaNTV+sQZlOZcv0g78dL5anQzRtO7ly+p6XWBpI/4ygc+B8E9/DNvpqyvgMisQz2m2byweWP54s9/Eop86g==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/blip-2/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/blip-2"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvu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hH1yK1KFzCvvuxIr1g4/XvhMtjoubm6uvKuxmtxHxDeV0FlzzDCxo4yIuiLEeqTmSCEEhcARHbW+tLuGolXJ45lnhs/AD/Pm3hYu/+Ont5yHX75bpJX8/EZPxUzYdD3/sCSPGCSEslFus/TJdcLvAtwGaHqxOBq11e8DFYCZFQaMQ9KoCXmpJyHFKmdGAxI65eBQJ/ncLDxXptFnQP1ZwW+tzvTA3S11YXZuDZtVszvxN312kDqw57UGSz1W71s5+Hn+ihQ998jaGxyfHQ+KkqGTctVnIyVX7g2Anz61Gfe23TUgI7ZGDQnLhxpiL6CZk4o6KgLCduO+POhv4xuncZQTjvKD0IfdmM+MGbrXcbun4M925eI6PK64Fn5G/d9S8odbcjiwMEbAK5lwaeMGtb6ahEL9lh9BTwbYq1y0GeOCGiKede3VvQ29XHJ3R1kic4XQs7Iu87VK+mlzfUGjCB2HmrptI8y/USfh/FN3jr/u09LFEJneOI5Hnj6WvPa+Xfv4BoAIMAA==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/blip/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/blip"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"caption"} required={false} schemaName={"Caption (string)"} qualifierMessage={undefined} schema={{"description":"Type caption for the input image for image text matching task.","title":"Caption","type":"string","x-order":3}}></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={"question"} required={false} schemaName={"Question (string)"} qualifierMessage={undefined} schema={{"description":"Type question for the input image for visual question answering task.","title":"Question","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"task"} required={false} schemaName={"task (string)"} qualifierMessage={"**Possible values:** [`image_captioning`, `visual_question_answering`, `image_text_matching`]"} schema={{"description":"An enumeration.","enum":["image_captioning","visual_question_answering","image_text_matching"],"title":"task","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NGVZyi9ktC7Q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RUcYZ2vBBO/M0jhMWcWwRGgMnesqMZHOezDkrwpWalmy9yCNkS1MW8mj+Ar7qVXbXNLnDzjS1UrDUUHmZV5R0CbAQb9I2T1TxIKZCIfgrcbhYk3srKiukbQByXJChZ4odWovHYEqVMxviq5Udx56BWdVUgmuEJx1ktx3j0NfCxN/JrcZvtS88QTSJcPPooPfYVZu2b3U90WUUYb820KGUKfC8av1X2C06gW7VFuncqC+/UnRuF5a2XPNZYMFOaXa2ne6ALDf3jQvnVlKmmAZXYaRob3f3Oy6DGAwX6SuXQSqjNSzPF2cJzr92eNp+3jZm8TfpLOqYxpmeNq+IEz9rX7xZa1JXepcEfetKIT+cKk/ZuFH+4KmIrXVW4GtXyhcXr00nGhRfLy/P3xTYzm7N4hrKyqTFMsP1Q2kbcUGEq5GaI4osKASO4KDpLS0ZW42UwxOnNYaycAB//Wvg69989+p+wNXePD7hn8/E2eguG48GnzrCiHFCE2bSLv5u2S847XRBH1X3H3b6jedAn4t+lIqil+B2XuIgpJkI6qHyoFQpuYDjSuOOi/zbXExFhJ8BKaJqHdcviePK7vWXAe4/u3u9Af4dXA52hnu7w8He9sf9T/8EbvGvF+TV+lEt9W6Tf2EXrvlWW24LtLmbVqvjrV12EtmszsNfRqfISc67HA+2d7YHpJ3imHHbmD6L9R64+c5otPZ7X2s+hfTa6BcpF3bw2dA/+9xdU9mQbTuUzjp/+I0TfD2HmJkZZR7Znp9DruFKpcslge/pukY4Hh+4Ejwkx68pGL5MKemx0ITAzCQ81fCKfz+MfQ3/yF5yg2q9UfR2p0CAnT8Od+TE9fxYqChaU7HmOMTBWphXaZtdcH52cYnEoX/rZvamChR/pCbEz2Fwg7/21eyCikQWjtOU59PSLpKBk0s//wHmJk7b
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/clip-features/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/clip-features"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={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={"inputs"} required={false} schemaName={"Inputs (string)"} qualifierMessage={undefined} schema={{"default":"a\nb","description":"Newline-separated inputs. Can either be strings of text or image URIs starting with http[s]://","title":"Inputs","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":["completed","output","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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table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O66a8mEpQxSShIefyEJF2tyr+KyStoAUOKSgI4VO7GIJ9wUKmM2xNMKx5kXYNY0leAO43kH2/eOZvO1MBORnSrtwbE/jviahzO6Fzv4PbVq0xZZ6JkuQrxKdINcXge+9Z8Rt+SYd5u2ROdGPXIKPHhixMyKHZ/Lod3hdMfJdv/auHRuxUWCaXAVRobeDwb/Y4hG3IBI7OZkeKrbDIkMd6iQbcYxzr92eNp+fm9cC1+lQ1THCpSCDXmQ6kXzvjn3s7YrqPagZnWld0WnXVdS8zYkP5wpz9m4GP/AHSqy6KzCriuyZP3o4rXvRIPjy9XVxYsK29mtRVxDWZ05KEi54UrbiAtirEZqhiRCkAscwUHTW7dw1Snna7+UBV9/5n/+bfiXv2AwveuDer+KzuF0LMaj23Qy6v/SEUaME0JYSrvou+U+B7PEXz003bs/7jXW/x6IXr3R0kDk6r6EX6iE8OOs0sMeCR+BWIgQvwOyQqU6qV8bztbVJlkt9V1rvHO2c422u/PeXurY/SJYb3HV4jZ4Yh9qjpgsls0qPPk8opcA8tPlsn90fNQnTopXCrYBfbYumq8uOxXQaOHXvoX5VBm+Nr08AWEHnI3yo8/RNZUHYTu2b0pVnvAX0HkjV5iBJaUXZR4f56D5VCXbLR3f0Z2M5/h4D0rAnLy+pub2tUjJjYQmAlZJDIne3/ebzh1MfKG+ZU/5QAXdqGy7OOCBHTKO9sGpO/S9X3K0Rl8tcYLTMzfP8jZL/WJ8eYXMc/8Cm9rrKFDwQJ2G38PgBj/2VdhFFJnsOY5MyBaFqy+nl/7+Ab3ORuk=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/codeformer/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/codeformer"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"background_enhance"} required={false} schemaName={"Background Enhance (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Enhance background image with Real-ESRGAN","title":"Background Enhance","type":"boolean","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"codeformer_fidelity"} required={false} schemaName={"Codeformer Fidelity (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.5,"description":"Balance the quality (lower number) and fidelity (higher number).","maximum":1,"minimum":0,"title":"Codeformer Fidelity","type":"number","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"face_upsample"} required={false} schemaName={"Face Upsample (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Upsample restored faces for high-resolution AI-created images","title":"Face Upsample","type":"boolean","x-order":3}}></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={"upscale"} required={false} schemaName={"Upscale (integer)"} qualifierMessage={undefined} schema={{"default":2,"description":"The final upsampling scale of the image","title":"Upscale","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9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iQ3xb2HFmGYhWjSVYIbzcQTbZMZJsLUztDW77hls/K9gj86e+xXE1cXq3aNP6HVBOZeb70K/O9ixJAKnGees/w66352y3ar1p3CgPoIzvvItq2qzic35a73B6x8pm+7y+MW7NsxDSYCoMFR32+z8xkAOmKA8rA7lKECZ+ZZfGa4urt12u+zlxpvlFYizanueI3eXCBQOXdtY2nm4lqSm9Ma7ueDupYBX0w6iylM6h+icNeaCt0wJ34Zec9J2J17YTDsXH8Xj4Q4H17JYspqG0zIipZaKfnPJnJgQ0XgdOqs5Dr+M8RHUo72DLhCGNaPvVrM1jCETmq/Zikc1xMjHxkD9PZSLENyUYGnLQQWEHlC+4D3/riwvWzKh8/TnLH5KqrzmABPqH7S78OR53e4PD/qB7eHDYPf7HM481JeQvnmV2PMR0naeQksN9mShX3Tu8vrjXr9VHzTdafY3duia6N7P6Jatb3ndKI7avLPqeUrk26LuCBfeI6C0aRwjeAIRL6QXErS1tA9McN070u9c8cdvi5MP5FXBivk1xge9we8X7G3gfUT0R7EtiCQK3b6fOTNn3ndRWuWKPqgO4jOuJq6vtydbuHaIstK1nQp7XL/yiXIPexhqGylxiG4CMp6cZlexWhJsNLn9D0ADr8PlABceM4i/QbfGHfgbIUz2Y01CyZ5xtcgRfXJ1nXA1nkBxH3/7Sfx3ZqfQbeV5R8cZbUWT2To24th19OUVt8pccJ3B46At5M+3EGTjD65sxEM/s669tF0G/YwvA3wPvHv7XT+Mmf0Ck1+HEoPEi02DZM3Lxv/8AvK0AAw==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/codellama-7b-instruct-gguf/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/codellama-7b-instruct-gguf"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dL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hnU7D+x3npfOTzz7LHXwmiaECrgaXF6KEXGmdE6yA2zhhiQMn5RE+24hhdY3iVVCGSJsBwLhBRq8kOTEcu8rIqPiu4uPcIRBzNbpgA3DSATbriEbnC3PXrm+PM9qJnz2xcB5CgdkB706rMG03/GquihD7a++4rOxc6H8F3RzHrPtqc2jFqFMQ1HedOQhhi4bMVY/YFrpjZ9MqPKxYcZGAGayH4UWHw+FfyK7Q9FGeNLJrEyDJwsYpFWtXu2yL3JZz5uXii8xy1JGNU7X0X/aJy7U7n6oa1LreLe52DMoaxQjKYa9ykN4L+Qe0f5HhzhDsKkZK0DOrr20hPIgPt7fX3yTYtm6NYgPK0Eyh7cnMfLGcKWJ1EhzAS3XwMDjwpo4HlB+EVcFmCj/5UM4eC5ngwBCShBodIPI+ha44hE9T9qGPTOvR3nk5JWyO6uAZHx7u9eHn+LY/GB0OR/3D/cPjt/8N7CSubvmqmZuZsvXb8ykzlHKtn4fWmtvgEGZ7qmFGGa35wd86NGg094O6ha5F29X3umbXNZjvGq1d2Q7Z7qZfNSfDfqObcK3Bjnq5ZqGqhFtb2/VrWV7OzPg0zvyAO/ltfAmY6FnWbaF73e/j7eihKTW5xg2k61pxu6nzstVLx+0ufjQY6yBPKDe53Pj1s4uKj1i/IW8D03JUkQEryk1tXEXHDFsnZerz5+cFVexOJpsNbn/B8gP24esDlZxiEwUrnLHaSsY0bVzhQdQ9rPCF28U4Duq96b8pjBAck+jLqb+auvz2mnz9oupPA42L7NmpJbfnkmgJ0XpDaowTeIZMO7cbdualruurm1sAXrg/GqTmXQ8kfcS4gM9R8An+YzOTW3sBkNmHt4eKZWGzhKWL//4PTRi91g==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/controlnet/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/controlnet"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoS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p2ffVdjObiViN5TRWU4AykScI2PZUlMgIYKMQwv26t5qmbNeLeVsZQZJzMJz9vGbZkef6P7FF5/Kg2V4Qg9P+enxTTI59l90hBHiBBAWwlzI7SU8o3oBbwMwPbgdDmrX9AHlA5hvhMyTGdwj5zBQ4EUvVzbzisnbwplcxugNdC41GqCqPuXXPIDfZr7Fwp1Ul/3XhQu1q7i7fJc37o5b8f92FW5dDoubnrlV4VWqfrXB+0x5oShuB3Ym91uDcjWNbk2sFcGOjrV58Z6hrd4H00jUt8r47fF70IThtwXn90EVcmJSIQ7I7ErqrP4dpFGmtT7z0E86rp40W+lBFlNuurBJ/p0rpM9Yw4htaD67lMWEKeUGwT0FBWWywIoEDXd3c6rYhYw3G1z+gmMErMPjLZUc5fBt0yu2j7ndcYUESEpEY8V2uPpo4vbWY3KfR7gHa5vRzDqwYPqipb206p64dlVwtLp1JTGGhp/pnbz13Xl2ej4F5rn7NpaYE9ST9Cs2B/g98i7hx3xls/EFJrMOXR72Um4GXM/qxX//AoKctHk=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/deforum_stable_diffusion/agin
custom_edit_url: null
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBi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nBNmfmRQ1dvGf/wGmc8j9
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/disco-diffusion/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/disco-diffusion"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"RN101"} required={false} schemaName={"Rn101 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN101 model","title":"Rn101","type":"boolean","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"RN101_quickgelu_yfcc15m"} required={false} schemaName={"Rn101 Quickgelu Yfcc15M (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN101_quickgelu_yfcc15m model","title":"Rn101 Quickgelu Yfcc15M","type":"boolean","x-order":28}}></SchemaItem><SchemaItem collapsible={false} name={"RN101_yfcc15m"} required={false} schemaName={"Rn101 Yfcc15M (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN101_yfcc15m model","title":"Rn101 Yfcc15M","type":"boolean","x-order":27}}></SchemaItem><SchemaItem collapsible={false} name={"RN50"} required={false} schemaName={"Rn50 (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Use RN50 model","title":"Rn50","type":"boolean","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"RN50_cc12m"} required={false} schemaName={"Rn50 Cc12M (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN50_cc12m model","title":"Rn50 Cc12M","type":"boolean","x-order":24}}></SchemaItem><SchemaItem collapsible={false} name={"RN50_quickgelu_cc12m"} required={false} schemaName={"Rn50 Quickgelu Cc12M (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN50_quickgelu_cc12m model","title":"Rn50 Quickgelu Cc12M","type":"boolean","x-order":26}}></SchemaItem><SchemaItem collapsible={false} name={"RN50_quickgelu_yfcc15m"} required={false} schemaName={"Rn50 Quickgelu Yfcc15M (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN50_quickgelu_yfcc15m model","title":"Rn50 Quickgelu Yfcc15M","type":"boolean","x-order":25}}></SchemaItem><SchemaItem collapsible={false} name={"RN50_yffcc15m"} required={false} schemaName={"Rn50 Yffcc15M (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN50_yffcc15m model","title":"Rn50 Yffcc15M","type":"boolean","x-order":23}}></SchemaItem><SchemaItem collapsible={false} name={"RN50x101"} required={false} schemaName={"Rn50X101 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN50x101 model","title":"Rn50X101","type":"boolean","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"RN50x16"} required={false} schemaName={"Rn50X16 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN50x16 model","title":"Rn50X16","type":"boolean","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"RN50x4"} required={false} schemaName={"Rn50X4 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN50x4 model","title":"Rn50X4","type":"boolean","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"RN50x64"} required={false} schemaName={"Rn50X64 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use RN50x64 model","title":"Rn50X64","type":"boolean","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"ViTB16"} required={false} schemaName={"Vitb16 (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Use ViTB16 model","title":"Vitb16","type":"boolean","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"ViTB16_laion400m_e31"} required={false} schemaName={"Vitb16 Laion400M E31 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use ViTB16_laion400m_e31 model","title":"Vitb16 Laion400M E31","type":"boolean","x-order":21}}></SchemaItem><SchemaItem collapsible={false} name={"ViTB16_laion400m_e32"} required={false} schemaName={"Vitb16 Laion400M E32 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use ViTB16_laion400m_e32 model","title":"Vitb16 Laion400M E32","type":"boolean","x-order":22}}></SchemaItem><SchemaItem collapsible={false} name={"ViTB32"} required={false} schemaName={"Vitb32 (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Use ViTB32 model","title":"Vitb32","type":"boolean","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"ViTB32_laion2b_e16"} required={false} schemaName={"Vitb32 Laion2B E16 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use ViTB32_laion2b_e16 model","title":"Vitb32 Laion2B E16","type":"boolean","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"ViTB32_laion400m_e31"} required={false} schemaName={"Vitb32 Laion400M E31 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use ViTB32_laion400m_e31 model","title":"Vitb32 Laion400M E31","type":"boolean","x-order":17}}></SchemaItem><SchemaItem collapsible={false} name={"ViTB32_laion400m_e32"} required={false} schemaName={"Vitb32 Laion400M E32 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use ViTB32_laion400m_e32 model","title":"Vitb32 Laion400M E32","type":"boolean","x-order":18}}></SchemaItem><SchemaItem collapsible={false} name={"ViTB32quickgelu_laion400m_e31"} required={false} schemaName={"Vitb32Quickgelu Laion400M E31 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use ViTB32quickgelu_laion400m_e31 model","title":"Vitb32Quickgelu Laion400M E31","type":"boolean","x-order":19}}></SchemaItem><SchemaItem collapsible={false} name={"ViTB32quickgelu_laion400m_e32"} required={false} schemaName={"Vitb32Quickgelu Laion400M E32 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use ViTB32quickgelu_laion400m_e32 model","title":"Vitb32Quickgelu Laion400M E32","type":"boolean","x-order":20}}></SchemaItem><SchemaItem collapsible={false} name={"ViTL14"} required={false} schemaName={"Vitl14 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use ViTB14 model","title":"Vitl14","type":"boolean","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"ViTL14_336"} required={false} schemaName={"Vitl14 336 (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use ViTL14_336 model","title":"Vitl14 336","type":"boolean","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"clip_guidance_scale"} required={false} schemaName={"Clip Guidance Scale (integer)"} qualifierMessage={undefined} schema={{"default":5000,"description":"CLIP Guidance Scale","title":"Clip Guidance Scale","type":"integer","x-order":30}}></SchemaItem><SchemaItem collapsible={false} name={"cutn_batches"} required={false} schemaName={"Cutn Batches (integer)"} qualifierMessage={undefined} schema={{"default":4,"description":"Cut Batches","title":"Cutn Batches","type":"integer","x-order":34}}></SchemaItem><SchemaItem collapsible={false} name={"diffusion_model"} required={false} schemaName={"diffusion_model (string)"} qualifierMessage={"**Possible values:** [`512x512_diffusion_uncond_finetune_008100`, `256x256_diffusion_uncond`, `pixel_art_diffusion_hard_256`, `pixel_art_diffusion_soft_256`, `pixelartdiffusion_expanded`, `pixelartdiffusion4k`, `PADexpanded`, `watercolordiffusion`, `watercolordiffusion_2`, `PulpSciFiDiffusion`, `256x256_openai_comics_faces_by_alex_spirin_084000`, `lsun_uncond_100M_1200K_bs128`, `ukiyoe_diffusion_256_022000.pt`, `liminal_diffusion`]"} schema={{"description":"An enumeration.","enum":["512x512_diffusion_uncond_finetune_008100","256x256_diffusion_uncond","pixel_art_diffusion_hard_256","pixel_art_diffusion_soft_256","pixelartdiffusion_expanded","pixelartdiffusion4k","PADexpanded","watercolordiffusion","watercolordiffusion_2","PulpSciFiDiffusion","256x256_openai_comics_faces_by_alex_spirin_084000","lsun_uncond_100M_1200K_bs128","ukiyoe_diffusion_256_022000.pt","liminal_diffusion"],"title":"diffusion_model","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"diffusion_sampling_mode"} required={false} schemaName={"diffusion_sampling_mode (string)"} qualifierMessage={"**Possible values:** [`plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["plms","ddim"],"title":"diffusion_sampling_mode","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"display_rate"} required={false} schemaName={"Display Rate (integer)"} qualifierMessage={undefined} schema={{"default":20,"description":"Steps between outputs, lower numbers may slow down generation.","title":"Display Rate","type":"integer","x-order":41}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={undefined} schema={{"default":768,"description":"Height of the output image, higher numbers will take longer","title":"Height","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"init_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Initial image to start generation from","format":"uri","title":"Init Image","type":"string","x-order":36}}></SchemaItem><SchemaItem collapsible={false} name={"init_scale"} required={false} schemaName={"Init Scale (integer)"} qualifierMessage={undefined} schema={{"default":1000,"description":"Initial Scale","title":"Init Scale","type":"integer","x-order":38}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"A beautiful painting of a singular lighthouse, shining its light across a tumultuous sea of blood by greg rutkowski and thomas kinkade, Trending on artstation.","description":"Text Prompt","title":"Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"range_scale"} required={false} schemaName={"Range Scale (integer)"} qualifierMessage={undefined} schema={{"default":150,"description":"Range Scale","title":"Range Scale","type":"integer","x-order":32}}></SchemaItem><SchemaItem collapsible={false} name={"sat_scale"} required={false} schemaName={"Sat Scale (integer)"} qualifierMessage={undefined} schema={{"default":0,"description":"Saturation Scale","title":"Sat Scale","type":"integer","x-order":33}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={"**Possible values:** `<= 4294967295`"} schema={{"description":"Seed (leave empty to use a random seed)","maximum":4294967295,"minimum":0,"title":"Seed","type":"integer","x-order":42}}></SchemaItem><SchemaItem collapsible={false} name={"skip_augs"} required={false} schemaName={"Skip Augs (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Skip Augmentations","title":"Skip Augs","type":"boolean","x-order":35}}></SchemaItem><SchemaItem collapsible={false} name={"skip_steps"} required={false} schemaName={"Skip Steps (integer)"} qualifierMessage={undefined} schema={{"default":10,"description":"Skip Steps","title":"Skip Steps","type":"integer","x-order":40}}></SchemaItem><SchemaItem collapsible={false} name={"steps"} required={false} schemaName={"Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 1000`"} schema={{"default":100,"description":"Number of steps, higher numbers will give more refined output but will take longer","maximum":1000,"minimum":1,"title":"Steps","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"target_image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Target image to generate towards, similarly to the text prompt","format":"uri","title":"Target Image","type":"string","x-order":37}}></SchemaItem><SchemaItem collapsible={false} name={"target_scale"} required={false} schemaName={"Target Scale (integer)"} qualifierMessage={undefined} schema={{"default":20000,"description":"Target Scale","title":"Target Scale","type":"integer","x-order":39}}></SchemaItem><SchemaItem collapsible={false} name={"tv_scale"} required={false} schemaName={"Tv Scale (integer)"} qualifierMessage={undefined} schema={{"default":0,"description":"TV Scale","title":"Tv Scale","type":"integer","x-order":31}}></SchemaItem><SchemaItem collapsible={false} name={"use_secondary_model"} required={false} schemaName={"Use Secondary Model (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Use secondary model","title":"Use Secondary Model","type":"boolean","x-order":29}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={undefined} schema={{"default":1280,"description":"Width of the output image, higher numbers will take longer","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOe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HgvoqqJWdMoZ/9D0Mvo7obvVpriJXqVyN/ifcdDiwNRwK5HqEo50e4mXA7Iw8MrTNQ/ciY2JJw1Ib9BOpCYCrmkESLYrGkivoV+kaRQezjoAkmiBzyMOAEdXkmjnoRrSAIKqYXX51ousICt6HxFSTYrxTR4y00SAFkUkRkNVgfgRY6TJ1flFj2jSHOBVAPheVJgLpXKyAzGsSZNUNAApADB8QekML5G80oszaSpAFCMUdEbQS61xiOmcpEQ7eK7Uo8rS0C0aEzBGuJ1C9pjy2WzuTC1g93+4Nus7+yZBdMAJvIWfAstr2lzNJRTmQc41DjgWZpGjCbF1T9CrsFz1i5aA40ZVcnJeeuIqnHzms1Fb20xuuVkt9/Yx8aseR5BGEyGoaDzXu87imjIFOURPpW9po4QpUENSpPNzVzvPvsmN+18dBrExzTYG5xNXwGUWC7cBn5ta+3BjlShmtSb4GnLSuXsTPfaDiPKYjqN8E8a8VBrpxm2zRwF6jvjr30jHIwPk8ntNxk2o1uRmAulecKmuUz1JlpsnziEeB3oVJ11t+Pspx3KOyHsVfHCjsxYjJhYF4tqLiLcLqFOyEEH6c8oX/AA/nu4A2KajKo98KpYKet7HTTs3vmpD38XE787OO8N/POz/rn/r2fWtmqiKxc0ZyXzy6XIwXN2Fr2otCwQZmton877fm0y1uOwmVWdrGmbFysVykmwcbQ/vxXj1aPeQOepm4mX74efgBL9beLpn3XPfJSOoYupvoR2p69mJW8vC5xr/NIvFjax0OgOLElcFzkd7a1Nl3scbFC3LmZQlTLwRvG8njaQDEtMNiDbbmdUsjsR7XZ4/BlbM5zD45oKTmdo+D06w3Z5zLOQSwRAMsxpJNkR+w7pjp87nG8oemhAdCwwL+f+w8je/R/JcUHlB5aaIAN7a9id2gJTYDTqa0VxCSU6U0dxH51rfXszngDyzH56iXXP8wT9gh984P/Ae4Bf/V3KhAyQ9DnUZZoscnObDF/8+Q/janGC
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/dreamgaussian/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/dreamgaussian"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"elevation"} required={false} schemaName={"Elevation (integer)"} qualifierMessage={"**Possible values:** `>= -90` and `<= 90`"} schema={{"default":0,"description":"Input image elevation","maximum":90,"minimum":-90,"title":"Elevation","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input image to convert to 3D","format":"uri","title":"Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"image_size"} required={false} schemaName={"Image Size (integer)"} qualifierMessage={undefined} schema={{"default":256,"description":"Target preprocessed input image size","title":"Image Size","type":"integer","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"num_point_samples"} required={false} schemaName={"Num Point Samples (integer)"} qualifierMessage={"**Possible values:** `>= 200` and `<= 10000`"} schema={{"default":5000,"description":"Number of sampled points for Gaussian Splatting","maximum":10000,"minimum":200,"title":"Num Point Samples","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"num_refinement_steps"} required={false} schemaName={"Num Refinement Steps (integer)"} qualifierMessage={undefined} schema={{"default":50,"description":"Number of refinement iterations","minimum":0,"title":"Num Refinement Steps","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"num_steps"} required={false} schemaName={"Num Steps (integer)"} qualifierMessage={undefined} schema={{"default":500,"description":"Number of iterations","minimum":0,"title":"Num Steps","type":"integer","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"text"} required={false} schemaName={"Text (string)"} qualifierMessage={undefined} schema={{"description":"Text prompt to generate 3D object from","title":"Text","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","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
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2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k2Ltt6KENCShCxouN5zXgQ/+VwXuUPOJLFUINSAeS4KSOxUyQJeYG2csMCBk+IIaxdiOFujeiWUJdIWADBuUdArRaZW4hsGXbgg1sT3pRxnHoFY1hiCDcCLDrDHjtvoY2Hu33K7b912lmfPLJyH8AjvgPen5TVtvwb1XOdhCPe1dly05f7qv4Fuj2PWzdoeOjWqFAR9dmcOQti8oXNR9jqU7th5bb0LnFpxnoAbXIQho8Px+B9kV3jXwourkV2bAIkMG6dUbH3TtatyW8/HWi4+l06ijmyc6mW9jF/4XLu3LlWgLvTucLdjilIbkzxYPRwrD1krh3/QBB5LKJ0l2NV5lA9AZ683SuSHu7vrrxJse7dCcRfK0kyZWUk7fCoGTtiKBAOoVIPNaFAbSQ0oH0Q4doArCd7rPSc9uKkLiTmJqU0xospVgnMl/xQGMn3KlzyE/7Y5xWi5qSZAZ8UwqTnRgYI+PuwN4e/4bjiaHI4nw8P+0fHwz8ANbKrevRzNtIYxfgKzZ9Dgpwu7r+Zx9VB1XWjrHVmx7nzlHe+8rUbVw+bdr5naE6R4T7jGfFh2yyjcnm61ErDsQ1tbu91j0dw92mFXLOs3YPrb7BIw0cEujob9UX+IEYshk1J7+f34sGredt8ctfTx3uGoD2jDns0gS8BKyNOG14sP0wdsqFC2EUZuFaqworjfGa4QhCuMdcB+eVlQze5V8vqK21+wM4B9+NxQxTFucGWHF7bJsA9BF1BR94CqruY+FXDAWpva2p4FwTG/vZ/6dzc+9XxP3mZUjnQbjNzZiSPX8/mtgGil9wpjChXCPqL3wz7Wssr11e0dAC/8sDe1JTdQ9AlHzPB/EnyCXzsJd54DILsPZYGKZW474sDRxZ//A2zl/74=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/dreamshaper-xl-turbo/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/dreamshaper-xl-turbo"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NGVZyi9ktC7QHDCLXQJlGPGZwoLCIm/QVYqeGSt4AFVqpob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hf6DBtzX6DTDtsgjLyYaeW3YIt/f3d1sZdhc3YLEGJTmGbJkHukLPNmlHQxFnAPYqQ6WvYPStZ4Dyg8YDZZcPQX7y8F+iJnEfhGg7mNBCh0UVmzsnZ9UwsI76G3U8AB5diifcQ9+63AUVWdcXKk5z27nVK/IwO7eP9zvws/xXbc3POwPu4edo7dv/+2YGzBFhp7fdWncbrHV4erFjey8ZOs9BXP20bwC0Gs/dC8AtZ2Ad+vnzS0w2o9XGzD6bTD6G2H022EMWmG0Hwo1YAzaYAw2whiUYKwr7ts1qxfJdWU8K0vrTKExULmSq8u31Vpp0dHUKYv3RiWw1NRWrcMSXaVE1isKVDtXpRqlJF0/yqou1ZJHtXTRrZQHslzfJM3dlkS2nvXZzAuEuCbzKaaf5zSNT/VMJEsUHvTls2lU9qYnP46ugBL9g/FJ3U6v00Xvh+4npHojsdf5ikSgnp+WtqJdLyta55iwp+QgDmAJcEztnZ6ty/uIwTli6+klyd0evFH8vt31gUOboxMFVs/PmAnfy+DlBT9/wZATvsPjkkqO2o5v+nhFR6+6smDMwG8/yirPed188PZj6UqlDoaxO26cu3P/y9juaX8lmwfK71tWBjJtp4bdvt04sx6NuKGgOIHQQ5dd1/d9KG1XN9e3d1hStDcx9fHP0JH0EY0Efg+dT/AXs9XYLCN00t8h3qBilhqPYfjin/8DnM/Kdw==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/ealvisxl-v3-multi-controlnet-lora/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/ealvisxl-v3-multi-controlnet-lora"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZi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SOe+b7uhvETfkCWs3bYjWjXUJynjr7cvwZhWf87bX4nTLyktjqLNuTbIItsFmGBo66Pe/o7qGTFMeVaprlSESQYVKk9XFxFzr6y43/Xwo1eIvwiJqqcaxmpbb+JmrtRv70prVpt4Nrra8FpSeA+6MH9aU4yy1wz9oxEODzihsmzxy1g82Xlta5OnNzeWrCpu7uxaxB8rojJmeCfPIkj+s4CjidaFTdZ963dLTS5fy7oQGbF+L/fUgqZh8yl9hMhnh0wlUCjXoooYOhdk8gP89fODARLlaP3J8zN9Lqo8W0Mv7B/s+/Du68XuDg/7AP+gc9fp/e/ZNYn15KV4f8vcGOxG6V4MyX8v9vdd2XzaX5JY7qbmINq59awvFSunu1bhNvc0vGn5xCcDJv5jl3QBfG7RxunazL7q3YUJdQylmz8ZSfWLMB7oH88QxEeWsP/48PAdJ3FmbO36n1/ExSzFNYmoOvHsaWw9s9btvqWTs+vDnklizpe6mEeWmoJq8enapeYdDFGLrmSAX6Qm/KK7XUxQSb4apDYLPz2Oq2K2MXl5w+RsOArAOn09UcjpG1+8wHG6mwJwOuUJC2H7BKnu4CT2+G5YeI82IguxYznbX/uOVqzQ/ke2GipfKiiFLO7Hq9l05yzka1XwtcQwNwbwcbOZ9KBWRy4vrG2AeuzfM2HRYT9IFvpzC/wPvHv6aB167acBk1qEL0GSa2ZNr9eKffwGijouJ
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/face-to-sticker/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/face-to-sticker"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRr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0oo7MACSnHC1+ZjAti3I/UDEnkQSFwBAd+tFqWvOOVnD9DWtgqfOB//K35xZ8wuH3qgzxdRZfwcSzGo8d0Mur/1JJGzBO6sMzNsmoX1AL0Et96aLq3Pul5K2wPRG8RFwugOisu15XrpUzId5xTatgjwS6IhQjx06xMBNNJvfZ+qRz2llKzhta7pFsfB96WZ1e2F/YZf0Rkce6j6Ox8dBX4evrdk26fOCneFEwDuWxf++vzQQW9FnzrNwGXas2fda9IQJgBZTK1dTm+o/Ka9dNs6/s84xvQucs1ZnBJpUH+7XYOit/KZLej4ye6T/EcH9cgBcwp4jtqTIcjsxILRQSscAyJ4q8E9t3Egex79pL/BEYPlebSxwMzICztk1X33vVtxdEYW7XEGU6+Qr/K68P0enwzRea5+wKVmqskkPAXdQl+DoN7/DVfxWw2kcmc47iDbFGaTS+weunnH5FxuHs=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/gfpgan/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/gfpgan"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"img"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Input","format":"uri","title":"Img","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"scale"} required={false} schemaName={"Scale (number)"} qualifierMessage={undefined} schema={{"default":2,"description":"Rescaling factor","title":"Scale","type":"number","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"version"} required={false} schemaName={"version (string)"} qualifierMessage={"**Possible values:** [`v1.2`, `v1.3`, `v1.4`]"} schema={{"description":"An enumeration.","enum":["v1.2","v1.3","v1.4"],"title":"version","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcS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EBqXNhGXqbnQO0hNsUUW5BIQ7LW9LVSJq1hz5BitMG6ZUzgU//6zEB/+4LO7rxOu9u+Dc/7mUl6efUmuzyZHW8KIOMGEKDOvkPblMec0S3ljqB6vpuPW2+SYy/ESjgxfDx8oSlqoVWV9qWIyH1ClT8bEO+JyKX38bcYlytTr5knzfWVz68Gx/8R4vO2Zz7zttd/N9vtPVgfNkwsNeJ0XjWb43/YSMHnpMuxuwPbC2Mho7lbNWnVdaVbszYKmejen07zrhlYY+MLQ18a9NMzapXH6y9kF5FL0bYJNRtPRhCjpEBNuUMGl0FX7sbeTli1c+d53a5c/dM8a5zEuxaTTnP2TS5yPlLNk29SEok4e/OK03iQQ0iKilAPL09OCa3Gn4udnWv5KcwLW8bniStLzAf0yL2mmPsyELzVtBNtfJ9q+7V274nnFXnKBiqxVbWaYoVsmAZ/de2vFDR0eVRQ9OG44ToHo5tb5Mm27/K4ub25BvHAv/olpkZ7ia6p+/H3ifcIf828HNqAgMuuAcZ4uS5vdVi799x/VEl94
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/glid-3-xl/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/glid-3-xl"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppw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2qh8iCA81oj+0LEjKbF0X9C3JAj1r21IVozqusj551dkOHNGzZzSNglVqi20R0r+8Nu4MaaFeUxhMFmGG50Nhp9RTkNmaY8bpTTJkMsggaVplvXJB2a3LZzXqvFH4VF1FGNE7WsX+WXrtYevZsqVpt6M1zt6NprbfmdscNu5ThrV+If0GWFBp1R2NV9FKzvrL8OjahxfJjNrp5V2I5uJWIPlNEJw8xKmGGnGHCwHfEGcFMNNqeD2gg0oHzAE3CbD1UPCxGTm2IOymWMwwvUCDUeoGyf8iUP4Nu0oZgi19WY8b6YWJpjA1zbo7OTIXzOZ8PT8dloPDzrn5//9I9np4Kqryv7TvdQUapmu+ic641qLc5dvV6lpuziWkuHvVfRGs3NWBKJeu5c/DL5hL07eMlGYNg/7Q9xd3R2Qs2xcYNe1ecc9ui1g/fSMdalApo+yGLKTVkyMdq5AN9hK4LYTjHmVZBxwsD1KtAQvhWmBojsdj5V7FbG+z0uf8aLFNbhcUMlpz4afYeOcHeymXO4QgKEL6KxYk/Ydgw3zr+1odpc8ciO5eDl2r+9dif1O/L0RuXE3djI0t5adSeuHBQcrWpYSVxAQc30k7zz2iG8mt7MgNl3s3hibihP0i/4CwB8j717+Dc/VNhwAZNZhypK02VuGkjP6sW//wARbstj
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/imagebind/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/imagebind"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayI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ZM0xcx1z5bX3rUEHo3uLtjKLbWLKAdQVTEHJS1f0MTnnvtPMNdHUQ3iAj+eqHUfby5ufpdhtun25OEC+V51syWys8S2/khthTJCCrVaHE0GkwYR5SPuMxwIxWrg4Iae7AMvVd4oSzaoaPTAieFcbIAnA4pn/EM/vqGDgPmup/pfWjHg+szOqjNxycHY/g5vRkfTU6OJ+OTw9O/jf+bhBFcP2Tohm1xntRDhvMwPwRbHzzFaVM/y+kp+1lF+5YIBX2jX+/74dicPtMJ9oy7Hm9ra7MzaxunOz9PLNQwKs/+cf4Zn0/4wPRnOz48OhyjdDxGfP0DcpzQ9o3RZus8uNKvnT/HILPs3o4aAc86lOnP+zGGzldsclC3I4ymPnzgm38rPhdCEBglhiAweHxMqWG3Wjw94fZ3LNiwD8sFjiFSdMFXdEus/f4Nwg0C8t0zxKGlz1mBY+zBbNy3EoiOaef13P90HTPCn8nLgrrB+ZqgAHsf2B3EtNNibGXdnuIMEndjX8S9G1z2q8svN3g/4ki99pUw0RSnPvh3knyD/9izN+HwAMnvPw5vRuCL//4HI5F0bw==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/incredibly-fast-whisper/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/incredibly-fast-whisper"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"batch_size"} required={false} schemaName={"Batch Size (integer)"} qualifierMessage={undefined} schema={{"default":24,"description":"Number of parallel batches you want to compute. Reduce if you face OOMs.","title":"Batch Size","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"diarise_audio"} required={false} schemaName={"Diarise Audio (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Use Pyannote.audio to diarise the audio clips. You will need to provide hf_token below too.","title":"Diarise Audio","type":"boolean","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"hf_token"} required={false} schemaName={"Hf Token (string)"} qualifierMessage={undefined} schema={{"description":"Provide a hf.co/settings/token for Pyannote.audio to diarise the audio clips. You need to agree to the terms in 'https://huggingface.co/pyannote/speaker-diarization-3.1' and 'https://huggingface.co/pyannote/segmentation-3.0' first.","title":"Hf Token","type":"string","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"language"} required={false} schemaName={"language (string)"} qualifierMessage={"**Possible values:** [`None`, `afrikaans`, `albanian`, `amharic`, `arabic`, `armenian`, `assamese`, `azerbaijani`, `bashkir`, `basque`, `belarusian`, `bengali`, `bosnian`, `breton`, `bulgarian`, `cantonese`, `catalan`, `chinese`, `croatian`, `czech`, `danish`, `dutch`, `english`, `estonian`, `faroese`, `finnish`, `french`, `galician`, `georgian`, `german`, `greek`, `gujarati`, `haitian creole`, `hausa`, `hawaiian`, `hebrew`, `hindi`, `hungarian`, `icelandic`, `indonesian`, `italian`, `japanese`, `javanese`, `kannada`, `kazakh`, `khmer`, `korean`, `lao`, `latin`, `latvian`, `lingala`, `lithuanian`, `luxembourgish`, `macedonian`, `malagasy`, `malay`, `malayalam`, `maltese`, `maori`, `marathi`, `mongolian`, `myanmar`, `nepali`, `norwegian`, `nynorsk`, `occitan`, `pashto`, `persian`, `polish`, `portuguese`, `punjabi`, `romanian`, `russian`, `sanskrit`, `serbian`, `shona`, `sindhi`, `sinhala`, `slovak`, `slovenian`, `somali`, `spanish`, `sundanese`, `swahili`, `swedish`, `tagalog`, `tajik`, `tamil`, `tatar`, `telugu`, `thai`, `tibetan`, `turkish`, `turkmen`, `ukrainian`, `urdu`, `uzbek`, `vietnamese`, `welsh`, `yiddish`, `yoruba`]"} schema={{"description":"An enumeration.","enum":["None","afrikaans","albanian","amharic","arabic","armenian","assamese","azerbaijani","bashkir","basque","belarusian","bengali","bosnian","breton","bulgarian","cantonese","catalan","chinese","croatian","czech","danish","dutch","english","estonian","faroese","finnish","french","galician","georgian","german","greek","gujarati","haitian creole","hausa","hawaiian","hebrew","hindi","hungarian","icelandic","indonesian","italian","japanese","javanese","kannada","kazakh","khmer","korean","lao","latin","latvian","lingala","lithuanian","luxembourgish","macedonian","malagasy","malay","malayalam","maltese","maori","marathi","mongolian","myanmar","nepali","norwegian","nynorsk","occitan","pashto","persian","polish","portuguese","punjabi","romanian","russian","sanskrit","serbian","shona","sindhi","sinhala","slovak","slovenian","somali","spanish","sundanese","swahili","swedish","tagalog","tajik","tamil","tatar","telugu","thai","tibetan","turkish","turkmen","ukrainian","urdu","uzbek","vietnamese","welsh","yiddish","yoruba"],"title":"language","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task"} required={false} schemaName={"task (string)"} qualifierMessage={"**Possible values:** [`transcribe`, `translate`]"} schema={{"description":"An enumeration.","enum":["transcribe","translate"],"title":"task","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"timestamp"} required={false} schemaName={"timestamp (string)"} qualifierMessage={"**Possible values:** [`chunk`, `word`]"} schema={{"description":"An enumeration.","enum":["chunk","word"],"title":"timestamp","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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dL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bIFFPDztnb8ctE6uSTSsKDpHcIU4JXput6IFKQdQZSzizhO7BQPUqvO2eZa5I/eLaAmbruASU4hbtfWOp3pSve+YH/d4dJm5iOf19fAWYeILM8ezvo0hm1KRiqnOq/QVB2RPXr4ZOVt719xE2Tyj2rA7SiHJds/T5fbGn/zP2qSjbQF98iwyAN3KuT1+RBeBsLzBxAM7LC9r1PoteX3H5G7ZZsA4flzTj6AX8pp8WdMempxPmwAXtL2yucl2C4y8rnJ9r6AYQwbFY7E79za3N42/JZkbFbzkqjMzemSHXs8ViDdGolSXGKZRbPULrhn1wUvTN9eQOgGf2Vx6x7l+8jD7BIv498r7A/3hDS42/AEivQ42lYp6bY2fo4n//B//wJdc=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/instant-id/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/instant-id"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3Rn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o+Jfud/Zy1joX5DMrcg2H36j77p3dMietnfrnqah7XzabUPrLnFmpm1J4Z+b85+mH5CTosNGX3g8PA4pzinQMm5Shptfblu+3SuJl3SeO511x4BsPylTLkxKNrH56IL7jtowwkYR7AU4vnH63g5yDN0VHQ1ke3xccAW3Mn16os+fqZHA7/h4z6XgCzL8bmZGeKYnMTc8oWgBtynhqYID9u3DTqNdb15sWhwip3T4fOn/uXKZ6lt2WFEzTG4psmuvrbgjlw5rik412HKcY0ExQ4X9tDMvCV1eXN8g8cKNmTNToQPJv9BwG39Pgo/418zg7ZYhkfmOVYTny8qedCuX/vwfY+8iuw==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/kandinsky-2-1/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/kandinsky-2-1"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQ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CWB4pSw8BeuThBQ4h+vqRM2wsi/odEFJNinc1GyrVRqCWhyb/WjH+Jr85FMZcgPOODZWgGrgPE/XknOtMzKBPruuE651YGQ9BJ+PUMPmGsMrpIyROgDQuESgZ5IcGsQXTOcyJSbF1wWOD06BGNdIwYrgSYPYXcNqdFwYu459+0RTL/zsgYXjEI5aDfJutFim9Z5fjVUehrBeS8MTIWJG0/XSf0bdDE9Zs2szaMPYlKCcN549jGxeibnYaetBN3x52t6AL21Y0zyGabAMQ0e9IPiO6hoxTXlcqa5VgViElVGarlzLsh1yPc67Ui0+FhZRQzVO1Ky8s5+4Wrtzq9qIWupd4deGs3LpMHxj4rCunGRph/yDxjwy6IzBpmZkLfre5ms7iJLE0dXV+VcN1md3o2IXlLGZMD0X5ophfa2A3YnXgZ2qs+x2ShcPHco7C2hMeaoWq72gHWAxYnK5voHIZYxHT6gTathB/TblMx7Cr2n8kCYXmwP+h/VdQfXADjt50Nvz4W9w5XeHvWDo99r7/f7fnj2Pb1rs4uS9Pmtj41o/cW4UGo+CeP575vwV9LfOON3NAeNbThX2KOAX/Tlg3tGGbnAXDWbt03ZbuO7a7szFxFSUeXz4y+gUNHG2LBv8drftI+9w4hNqlrC76tm0YNsHoVIReOlFlqOlZg+6k8WUmxJpuPLoyHaDbRFi6yL/NoSDN4rfq6QDKs2RqqD2+Dihil3L+OkJP3/GjR2+w+OSSk4nGPgNJsP1COYUxBUOwCxMaazYM/Htwo63YKWrNdNyoDiWp5db/+HCVY4fyfOOinu3iiM79s6a23PlaS1Rq84bjUMo8ObEulv2rlQUzs8ur0B44m7kErNjepLe4z0g/A69W/hvrivtlIGQ+Q5Vnaaz3DS0nrWL//4BLkocTA==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/kandinsky-2.2/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/kandinsky-2.2"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"**Possible values:** [`384`, `512`, `576`, `640`, `704`, `768`, `960`, `1024`, `1152`, `1280`, `1536`, `1792`, `2048`]"} schema={{"description":"An enumeration.","enum":[384,512,576,640,704,768,960,1024,1152,1280,1536,1792,2048],"title":"height","type":"integer"}}></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":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps"} required={false} schemaName={"Num Inference Steps (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":75,"description":"Number of denoising steps","maximum":500,"minimum":1,"title":"Num Inference Steps","type":"integer","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"num_inference_steps_prior"} required={false} schemaName={"Num Inference Steps Prior (integer)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 500`"} schema={{"default":25,"description":"Number of denoising steps for priors","maximum":500,"minimum":1,"title":"Num Inference Steps Prior","type":"integer","x-order":5}}></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":"A moss covered astronaut with a black background","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></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={"**Possible values:** [`384`, `512`, `576`, `640`, `704`, `768`, `960`, `1024`, `1152`, `1280`, `1536`, `1792`, `2048`]"} schema={{"description":"An enumeration.","enum":[384,512,576,640,704,768,960,1024,1152,1280,1536,1792,2048],"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":["logs","output","completed","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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApw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65TMoTVv0vg5DUByECy/RwrrazSvwDJMmgoAxSUqeibJsdH4gulMJsS4+LrQ460jIEY0huAW4mkL2l1LNrpYmLkmfxu8aSn87JH5Mx9GmRZ8By3StDkmwFGd+T7kawU8FyJiNMlT/yvkBhyydtEGaM0oSxA0z601CHGzLZuLs7VpdMvKptHsW7PCLIJtsBGGgoaDwQ9U14BpyqOt6rqNEAl/C0qTtetD6iY37byr1OIPwmrUUo1jtaie7Keu1u48qkpUG3pXuNrAdpHH4cTCco12WFEOs3JC/kkjmIBQO8OwrRnJUd9Yf9WNqGC8v7o6/ybD5u6WJDahDM+UShrDeS6V8ThPzHTkSmoCINQg5VCCvaq1eGp3KlvOHk3/ibswZn9/0ez9P3Rw/blH5XAVnNLXZ/xs+im+mPaOWtwIfgIVlsLcJNjbg5Rik+R1QXT3vt+t3C90Ke+uaBLwRK3WewOsiEze5/pnMkIDoFipSRep9ylfcB++Tb+JsXpRXky8zbXevmiAdmIw3OvBZ3zV60+Gg0lvuH94OP7Xs/cI5XhQ3BhU7wj6zQl7WA612DS3T4E4+tVHr2FtcDLTUj76tM47lSGlPnG4Th802NH7loYVXW1jqd6L5q3inblACUU1eY7fTT8CJe6ODcHefn+/h8GO2xxTUzdckJV9X32GqVSe595OuQjT7FF304hyU5dNbDy50LrBqEbd+sahRXjBG8X1aohB4CwxLIHo6WlOFbuW0WaDy5+xl4B1eLynktM5mn1zZ+4wTA6ZaYorBEDghDRS7CvW/XThEuxnsssITMRKRpqGBxZMcbSwE8tuz9WsHKNRskuKY6j6ZvrdjVtN0fOzyytAnrubvdgco56kD1gh4Hvi3cKvuSO0LgUksw6lniaLzHS5nuWLP/8B2kXuuw==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/kandinsky-2/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/kandinsky-2"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={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={"**Possible values:** [`1`, `2`, `3`, `4`]"} schema={{"description":"An enumeration.","enum":[1,2,3,4],"title":"batch_size","type":"integer"}}></SchemaItem><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":2}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"height (integer)"} qualifierMessage={"**Possible values:** [`256`, `288`, `432`, `512`, `576`, `768`, `1024`]"} schema={{"description":"An enumeration.","enum":[256,288,432,512,576,768,1024],"title":"height","type":"integer"}}></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":1}}></SchemaItem><SchemaItem collapsible={false} name={"prior_cf_scale"} required={false} schemaName={"Prior Cf Scale (integer)"} qualifierMessage={undefined} schema={{"default":4,"title":"Prior Cf Scale","type":"integer","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"prior_steps"} required={false} schemaName={"Prior Steps (string)"} qualifierMessage={undefined} schema={{"default":"5","title":"Prior Steps","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"red cat, 4k photo","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_sampler`, `p_sampler`, `plms_sampler`]"} schema={{"description":"An enumeration.","enum":["ddim_sampler","p_sampler","plms_sampler"],"title":"scheduler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"width (integer)"} qualifierMessage={"**Possible values:** [`256`, `288`, `432`, `512`, `576`, `768`, `1024`]"} schema={{"description":"An enumeration.","enum":[256,288,432,512,576,768,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","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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkagh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2IVPt34/3vdH4PuX7CUUL2ANLUBy6ryzc7JUjdcXkfTkuL2SCM24IGWq6j6KGFLrYEP421SlazKyeRr8tB9vN6TIk9cnB3gj+HN2MxtODyXR0MHzz3Zs/Ajs8rtudakzcGgy74U33gNZMZTsno2Yc2j2UHPdPBUetkVwN8YUZ2aR/FOWOsD3TOa7HKKaKbu3Ynjhgc+xPCMY97flx3fv+nxreVgtq+k7buI06mqntrsV1DnDQngq9PnZVe7c+bVfMZUF7Z35oWArf609+On8PnGjQ1ndGQ+h50UvRTVJqAp776aYuWLf7Ky9kvvaHKefEmj3q/TwBVeOexp2enGt+wCISsY2NYiv3hDeK33tdFBwvRh8HCU9P2MDdyuT5GT9/xooIvsPjPZUczRDfzKTOFFemqbX2GXVPRP2j9h0Df+DyfjUztRqSY1x/vfR/zFzI/SfZvVH1k1pjI7t2asXtubheUrTSWs1xApnRzFr6ae+8aHp1eX0DxAv3Y1tqSo1A0gf4iH9Pg4/wLzZTub09IDLfIR3SbFVYZ7Zy8Z//Acuk56Q=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/latent-consistency-model/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/latent-consistency-model"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyr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meH0zBuKZffO1J0XQ71j98PfAu4f/9YO4SR0Q6XW4J2i8yDRE9oxc/O8/Ecz6Jg==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-13b-chat-gguf/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/llama-2-13b-chat-gguf"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXep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773sDxpZ//A1tCF/E=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-13b-chat/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/llama-2-13b-chat"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0Zm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F1bXN122ffz1pnm55mxqD3PEbvLhQsGLuys3Xm61aSm9Ca4uuXtpIFV0A+jylI6h+qfNOaRtk4L3IZfStLXJl5tJxyK95PJ6IcC/ezWLKahtMyEqWWmn5zKZyYENMEhnFSHd/1D5yHqkPLDOKYJ7Q66z3uzbrikqrtYFHMcSkzclS9ThYjxOQnmhRweopwDyhc8hL/1nQXLZVw//Lwp35CaDzkAAgZH3R78eTbp9YdHg2Hv6ODF8fN/AvNOU6P96kVmyxtMz3kFqTncR4l61b2+6zu7f6M+3n2Z1TfY1g3RvZT596tefdWpjWjfVvQVpXFj0NcEi+sRzFsgjuh7BwaupVfo1ltqY9ISMt7qJ6955nbEybuzS+DEfJu6At/h4opXN/A+oXoY2EfEGv+1L6bOONn3idQWuGL36hAgGdfDVlfbgy3bLwiw0La+CXlZuvCL4vr28oWiXGLxA/vDw4xKdi3izQaXvyFUgHX4vKOCYzLxF6i1qENf/sssD+c0luwRP3f5gO+szuOtBjFIjgNvf+m/ju0s+o08rqh62W0oMnunRlzXDrySwpv3NccJHBn6Gr6b9tYZM6OrTxMgntk3X9spgn7H6oe/h8EN/K8fxE3qgEivwzlB00WhIXJg5OJ//wEtz/ou
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-70b-chat-gguf/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/llama-2-70b-chat-gguf"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN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mNrXGhOxwojxm5QT9g8cistpZhm3NynbiYP31xKn6fjK5fJZhM7pbErehLM8EzFLaUVcx3qLuJTjEk+rwbnBYGYAdcnEYxxzvcMPu6/6sGy45EWhQd8UwLFcxTbCwVOjRIbHocbEQIf4PaM5EmTLezpreFWOr+uwIz//hUbePn5NJfzA6Go76R703r0/+F7jR0PayUg6B/NjHz3p2hzF2ArM76aAhQ3F523Jsudpvge5a3W/edSso9Vvhc1fB2gXL3ar8RYRuH76jxzZ+Tyu7lVs2qY2l3day6Pxu7BBtLqu5fvrr2UekpHC6jOn3Br0+5SYlR8LtNvdjyW1nt3ulrRSKlw5dferSfeQQmy1hy6hNpkefkJ+pdSLdBpSj26TEN07rjcTEdFtSRiPl4+OMa7hW8WZDy1/p/Md1fLzjStCkit5Qom8lKJP9CCtqHyBWTdynPg1tK5Ng25kQOlWxl3P/x9gXmH+ypwWVY+KaIAd769h1fRUrMBpFfEtxiueAnQ/sx72p1I7Li6sJIs/8ADmxB2ug+D1tKfw/Cr7gr52uu6ghkl3H4s/TRW773sDxpZ//A3GnF/g=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-70b-chat/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/llama-2-70b-chat"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwj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A2L0Ex1CpjteD48qI8Jjy4zimcLcbdl/PuiHc8zEdMbXOp4WZinHEB5lCj46RQo/yBQ/hb4CDOHSUcTmMe5/P9erDNSj/w5NuH37OJv3B6GQ46p/03rw9+1/gZmflZaWYkvm5mB+G7Q6r7IRqdxKEDXZ+pyspto0+3LyjZRZQorl7eL95Oa6A1K+R33l3rN3I7DXM31zsfcHdALDt39P6luwUTW1jabcVzTvFOzuWnMtqbJz/dvEJMNH+zsP6vUGvj76MzpRQmxb8oLfsBHfvwJXE8tIxtnd1vL8cQ3PGbdq13vfoHfgLtlrI2wB9unRieKO4vuvI4J5LDABAfHycUc1uVfz0hMvfsF2AdXhcU8VxxIRvcKDvPNDz/ewpap/IViXcxz1OwSujddvIIDgmvZdT/9vY56O/k8MHFXP32kFu750j1/VJL4do5PwS4xzKhp0n7Ie9q6Sa66ubCQDP/EQ+sXU4UHSDIQh/R8FX+Lb/rnBGAyC7DrWCikVm2+TA0cWv/wMzYI7V
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llama-2-7b-chat/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/llama-2-7b-chat"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIk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-26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/llava-13b"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLET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S4WYZxegg50qs6q16msyh3KO0LQFW2teu2T1vFghtWI6VWxNGda4KYLhcIMO8igTfmCh/A/wH0U4+Rqu5O+L9bb+o4J3b8/aHXh72TS7Q0H/WF30P7hePBP4FfI7dheLovlenhTAO/KHWqLXt15/KJTLBVbnNrw7yb+fKbuHRgmt6TlmNg42h3uitnrzi28c1WNttNfRx+AEk3qfdZt99pdjA50T0JdouWfELazVbDj6UqqvvQDSR48uBF0YNzhrpA5hz7lIXGDwwvK1sMo2YYFvFE83wkNcEGMEQV0T08zati1FpsNHn/G/gvn8LiimtMZan6D1shbOcYSTF0IAIfPqTDsGQUPCY+fVyrfbNxkgOhYRV7O/ZurPMG/Jc9fVH7QqV3kYW89u1ZeRQqMRhHdUpxCHXa76mHcu0ruXo4/TgB5ln/qSVxjCzR9wA9M8H8Y3MKv+w7mfQZI7hyKL5WLzKeK54s//wHM2Jnn
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/llava-v1.6-34b/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/llava-v1.6-34b"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt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K+7kpzEo5uBV99ch173HQa0xTPZA9pXXuwhNv0TxW5AujmD21IjvsseoJyKWM6X/EPrgSJ/sZ7HNFuTEhhZnoePDCSNK85dlCN+vk7KfRF6LDXEK2+yeDkz4jOaIU/B0o83nZnNUOzqhxi946dpbJdPjkerkC6XuMz8S2zOINHyBzG/jRsM4kfQHv19mkHK04/aSx3c7B4rVRux1vP/CjSPu0fAQjYc4x39yRp7JWOP2JtCygBC5AWXwltG8mZSF9K16KgAuuUXn+5aYNEm1L2cdg7ri8mxWi1Xv2GmfUvnL3KrZZipfjqymB5+W8nvr3IDLwF98E+j+MbunXT/4hnwTy+9SzIFsWflyLgl3++QfxZTWv
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/looptest/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/looptest"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"default":-1,"description":"Set seed, -1 for random","title":"Seed","type":"integer","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
......@@ -42,13 +42,5 @@ Successful Response
Validation Error
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>loc</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
string
</div></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
integer
</div></TabItem></SchemaTabs></div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\",\n 0\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>detail</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"loc"} required={true} schemaName={"string[]"} qualifierMessage={undefined} schema={{"items":{"type":"string"},"title":"Location","type":"array"}}></SchemaItem><SchemaItem collapsible={false} name={"msg"} required={true} schemaName={"Message (string)"} qualifierMessage={undefined} schema={{"title":"Message","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"Error Type (string)"} qualifierMessage={undefined} schema={{"title":"Error Type","type":"string"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"detail\": [\n {\n \"loc\": [\n \"string\"\n ],\n \"msg\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
\ No newline at end of file
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUay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/uTePZgb2ZtQXijYwqhGPFbzi5N+uy5z4O3vJF8qdVhKZGYXut1TP7N4HK+6oLDMVRa/KNhzvsFCbS+/LtO2surq8uUXiRfmAmpjO50j+REmNf585X/GPeYq1kUUi8x2rM0+XhQW5lUv//QelWmsn
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/material-diffusion/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/material-diffusion"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt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JVr85hssK/hAWTEjCaK7bFtF258l+S9oDJTA5JjhXm+9O+u3OX/nuxXVL292lBkz95acQeuwpQUjQJbc5xCjTab9W7aO+9eX158GgPx1L3XSk3TCyR9wCyH/8PgFn7NSz8bLiAyz6Ew02xe2Atm5eLPf6/N6P0=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/minigpt-4/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/minigpt-4"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3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dFLSU4Nx9cM0llGjIpvKz7OHAIxR6MJNgAvesDuepzN2cLUzZLas7ZuMGePLJqazqQL73YrN+1Oo9RUFRFmd2+7rJOd6+9AN9tz1n+02bRi1CGn4L1TMQNbNGQuM3SP0D0rz52a2Io1LxK4BmtheNDRwcE/CKIx05Qn+FQlliZAIqLGLs02rrJui9yV885LEO9F1BoouCQCyVQt/Gx94WLt1vRTg1rTu8HVnimuN6b9ZOSwRzlIL+v9D7qL2HBnCPYVGNVcxOprRyZ8d3Nz9ZcEu7dbo1iHMjRTppfCDL/LgTdWHME+ZKr99XjfG4nvU75vugGozDEOQf1bjsULmeAsG0KEmuwj6ojyBY/gt+lg0EKu66nzWTnAbk6RIVcfHA1D+Dm5CceTo4NJeDwKw5M/AjskrpuKahy8fQB82J6Qun67O1YM+4dyoT/8etUaQtWstKYsWyYW/dMAx9K2VtpvXVvdp+sEy0auZsd2WGGrrxlXbYLpDVy9Hm4pamtqVbnaWWoXmWUNeGfGdXPhe9Dpz+cfALPWUTgaj0K0eDS5lJrg4T5/1DVeu9H1ws9LP+44h9DsUe/nCeUmOBtTfXJm/gkLMuRtbLRZmTq8UVOVl+YORrxE/wCMp6cZVexWJs/PuPwVqwlYh0f8FkBnKPMn1IMrTMyEgCvciPvHPr5o29jGj0LelyZT5yA4xsSXU//+2oWrH8jug6rPUI2D7N4bS27oYmIJ0UkJNcYpZBUzHdgOe+dFoqvLjzcAPHMfqFKTpgNJH3AkBL8nwWf4j16R29sCILMOqYRmi8JU0YGli//+D0TprmM=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/musicgen/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/musicgen"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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>
Successful Response
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3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34WpAHh8/YBv+njG5JcG8SfkV6k9iKtWSRsjg2qTJeEkTkghNQg6+QFeYfYMVJ+DDB2XdUzBkxKfQSzgcN2pBtCArGq4oSeeFmYZutU18EIsiMqf+6g163tTkqepyi59RZLRAq4HxLMk5l1qnZA7boSnj5zJAyUlwfI0SNtcYXsFllDQdAIk7dHQkyYXxeMx0JhNiUnxf+HHlBIgxjS1YY7xpYZu2DJvrhZnbM/t7uHl7sw3zZz4AhBZ+Ry3GtLmp1Exlvg/zWiHPhYgYTfLRf0fckEPWbtoQbRjlSsh468Y0vFktZg4Nu4BpaAm65QSO6nf6nQ0rzCIog+0wNHTa73/DrRkwTXlkdnm+SeoMkfBrVJpsR6GBYvshN+OcVjbCZ2E98va3BmxPtahe2zfurn1z35SstvUmeNqC8GrgAeOwphxnZc39QSMeGO+MwjZEkbN+svl6Z/VdTya3X1XYrG4pYgfK6ATguxQGGOdgGCGG14VN1V2fdCtwuUt5N1Hhy8yApBmUlfku3YrJdQ6fMxkh5oXrQg26qOaY8gX34beHyBS7ZVyi06sc6NbRJizq/ulRD37OJ72TwWl/0Ds7hqN/PAsmSyxXwEYHFCulbINopWABvhpH+5ApRzRTg1JDUW2Pi1+GX0ASo7dJ7h2fHPfQOuYzpmYyHO4vEYu3V5rKbB36VeOqrdlGd9OIcnPzmNzvXA0fEG2gbydY1rKO8EbxvLWWUKElNgJI73Zzqti9jF5f8fgZ1yacw+OaSk7nGP8D5sRtYCx+wBUSoEIhjRR7J8y3QsAvo8rnllnoyI7Df7j278ZuLr8n7xsqvsVqhizt0qo7csOfczTuvlLiAq7PVL/LO62M3O3obgLMc/eVFpt95En6gt+G8HvgPcJ/8wlrKwdM5hzuTJosMtvwVi/++w93PiTE
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/nsfw_image_detection/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/nsfw_image_detection"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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></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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVka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1JkZ/u729+irD7uvUV61AGZwL5Qpq5aDkLpVLEG2KmGq5Gw8a0dMjFEJ8t7Yfo+9BfjQYjCkfUdbvBaaFimna62Q5iGHAxFwH+a0pTMpTbei55Xo4423NGzOUHh30f/xzf+6Px4cHYPxr4h4f/8ewYsW5SqoFhZ0To5oI7pl9u5LU5BzLDn3L0YktQNxmpSdppRb3uzAP2DwG29unUnLc631Hddv5/9JqdBtF0hY1eqmyMbH/hVzU/aXlHzV3ruKqmO1ubNXBZoj6aaXIkm3588uvkCm+SrVpv8AfYepLfkeEn3IQwN5+vS9DN1qkRBN/664Nzyxw1N8xibHqJpvGUF+dsX6gsJN5GRpeVw+GKC/v7Rcvp0JUW5Kx48eVlxjU8qPj1lba/U2mD+/i54kqQ9dPKjBRNlWSaWesW4fbZb1PCXdzTjxeNX0RM0UXgFKDfjv3Pty52/oXtJ1T9XNIiZM9OLbq+C9AlRCc/1TdOMMWZmcdu2MdGWLy5vrtH4Jn7IcVMPMee4k/08w3+O/a+4v/mleyjIZDZx7yG/lfYAGLx0n//BaZlJ20=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/open-dalle-v1.1/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/open-dalle-v1.1"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL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BldJ/D3ZdzLIaXBM8IRHhl5QusYPRXPIvn59Q+76Wyb0kgXj5sovVLLRoJkZqgMIcndqEp6gOscqpS4yoKbHFWQYkAHDG+PgGQQj8zl8joLos5lSbp3zyRzlflxu05BtlrEPNqTuMffnG9YL52cPVcgtOMPQSoGrUSWPC8pZmiaoW8GyyeMXPFgpljD9iTicrUm9ksoKaQIAxw0BvdTs2CK+FmiCY2ZNfFfiOM0ZmN2aXLBG+LmF7L4lGnNfGOUPAesPJc0sL56EP/JVIFro89UyTJtPCWZkMt9HvFaWi5t7Hvpb2O3yRLRvbRedGqsUhFt1aw4i2qymc9FetSjdMvPSKNJOrUkW4hich9FGg37/b2TXQOBmEtaya50gVH5tlcfLvPtbV7mp530lF58rh6glG0dmWi3jn/Ncu7EurUid693SbMsTXK3VID3cVjllpRz+G9fDwKKzAts6j/KNyNlrS4n8dHt79V2BzdNdsbiAsjIjkc6UfbksXiupFfH2Uan2H3v7lffMfS737T0l4u7NCi3iY/GqmemQniKRJMxwn5j3OLpsH5+2vSUfuV49Gp4W74/1R0CU8f5gt4u/o9tubzjoD7uHe92jwR+ee+Nb3WXK17xN73f5o936u9nh2qPTmsTy3ad1/mDD/KA633iw+P96pag9CvRqt3Lq+UulN1+G3c2zW7/y1e9v7deLfndDe74yftl4N6bW2+Wim723D10TVQ3545/PLsBJvu0Cp7vX2+tSiFKM4GZOxDnuVbe6fkOr5MvX/pSQRzC5wj6ucNJWExtZz3lcfqEOkrD1KFRXsYkRp/lKfCLqZhTS4Hl+HnMj7nT48kLT36gBwjy+PnItKX5ohL3yXspevF1gBe3v31XlNgGnHyEqv2zY1ozIKY2/XvrOdZ5h37HtG5U/e9Q2cmsnTtxunsYLikYVW3EcoxDaV5TNtPeV5Hl1eXML4nH+g0hkOwtP8wUm6XPofcV/ujsl7rxAZOdR/Xg8zVwycnLp31/lZhG/
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/photomaker/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/photomaker"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2Tuh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qHwPCkwQ60ztsCLQJvGL2gQUoConROF9TWZV2IZJm0FkOKWFL2RbGQ0noHOZcKMi+9LPS4dATOiKQUbiJMOtMeO0+hyYe6uFLtXrnaVhw34cx+7Wwe+g5bHtH0pUXOV+z6e1xp4kaYR8KQ4+q+QG/ASukUboDWjKkF48+isQYSbN2wu2l6H0R07L62bkjVrmUcYBpthJOhkMPgX1TUAzUXUqK5NhCj1G1CebN08tGty287HWi2+Sq1GHdU4Vqt6G5+4Wru3L1WoNvXuaLfjMl+7rT8YO6woh1lrh7/wCK+PpJ1h2DV5FKgX1l+vtMgPd3fTrzJsR7cisQfK8IxBh6l5AynePWgU8Y6xUx0/9Y9rLyPHXBxnYoMzwOEmOhxQKQL5VDyQ5DKiVw2sEmp4TNRHHEdOH/+b8ZCSZFa9P1wWTxnN9wTs44OTwx7+nd31+sOTwbB3etR7/+4Pzz4XVLeY8mFg9ynA3P+L27cdJFuX44pN522WrrCNK2S/ur/940tb7aZVXJvspaNX3gSKydkNxKT8noG0MqAcNVtbuwNiMb89mmeVZVpP8tFP42ukpGDaVOkd9Y96lJSUFTE359s9VFXz2e6QX6sQb32GczmrYaOPs4gLUz9NKj27THygmYl061NyVtmIK0779YzEPAspi5Ho+XnBFdzL6OWFtj9Tz8d9/HziUvAFmf3waB5qzPhgbl9CEQBjsuSRgles26c5veDVngXNNELoVLnezv0/M1dUvmWvCyrfDBuCLOzcsjt0lavAaBXuimKEtd+8GOzHfazVi+nN7R0iL9xrYmyaqSf5F3rDxP9D7yP+mqdWGzBEMvtY8PFSmptZ17N86ecv7zNd+Q==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/pixart-xl-2/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/pixart-xl-2"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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 `<= 50`"} schema={{"default":4.5,"description":"Scale for classifier-free guidance","maximum":50,"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":1024,"description":"Height of output image","title":"Height","type":"integer","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"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 `<= 100`"} schema={{"default":14,"description":"Number of denoising steps","maximum":100,"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 output.","maximum":4,"minimum":1,"title":"Num Outputs","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"A small cactus with a happy face in the Sahara desert","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":9}}></SchemaItem><SchemaItem collapsible={false} name={"style"} required={false} schemaName={"style (string)"} qualifierMessage={"**Possible values:** [`None`, `Cinematic`, `Photographic`, `Anime`, `Manga`, `Digital Art`, `Pixel Art`, `Fantasy Art`, `Neonpunk`, `3D Model`]"} schema={{"description":"An enumeration.","enum":["None","Cinematic","Photographic","Anime","Manga","Digital Art","Pixel Art","Fantasy Art","Neonpunk","3D Model"],"title":"style","type":"string"}}></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":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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFP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Im4YfyQTUpE5oNk2qNqJpBO0vrk2M52N27l5pYNbP/6NfxBUrSlvocGuzs7QwoWyldUu4OfvH2VQ9u6/eNRul468tekcwWHi0lnXCF1SXUU5Gin2iYImx7lLV1muIXp/VXUhUTcE4Zj3qenqbcwJ1Onp9p+SvNB7iOP5dcC0oZ+nLvBW7UcJdBn0tR/zNL0+FNztA7YePx0U0uxE5V7u3av70uCtB37GVD1ctky5CnHXt120WVKzk6Rb6WOMI+4S7Sm3nvG7Xl6vLmFpmnxZtl6hpvoPkDvZTi/6PgM/51D7p+D5HJrWNz4HKWu7k48Hrpz79A4I9O
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/playground-v2-1024px-aesthetic/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/playground-v2-1024px-aesthetic"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2Zt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dFKvoNGm5MTQhy7fsyhdwtqCpB7L1fTji30uxZo/lzE+KNYb84Z/mCaR1iGxhdFg4DI4rzP3QacIUVeh9QenmZQ8n2IKPXV5z+jrkKzMPHDZUcrRdHpudo0h5TB1uzDtt7xVWR94mDX3ZUvkExWRRux4j7fup/nbhg+DfyNqPi65UaI7t2bsl1XcTNdzQenPLEGbxZpl2yf+9jJc7d3U7vYfPcffFiGp8jT9In/LoH/o68r/Afy5zU3iJsMvPwUNFkmdkQYOniv98B0PIu1w==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/playground-v2.5-1024px-aesthetic/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/playground-v2.5-1024px-aesthetic"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hyS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c6c24DkOeYnMWChQFvQek/zoxhnK8Iu24lGzhL0A+hwF0bWeU75c8nDJWTor2bRo603iIxq1tNRm7D4vnJ99q4u8Q84oMlTQ1ZB5nhSQNKuxmQw2bRy/wMGT4ojKF2FYW5N6JZQh0hYAMe5J0FvFzozEE8A+KGHGxI+lHJcOgRnW5IINwOsdYE87otH5wtStJLZXNu0sD8/gT30abNrw7rQM0/ZSQ0917vsYr7XjYjJ1oX8A3RyHsJu1ObRqVCkI58qdOYhg84bORdnbofSOL6+twdiqhQ0YXoP1MGJ0PBz+gexqm9JGdm0CRNJvnPJk4/qubZXbej7VcvGVtBLtyMaxntfL+LXLtXvrUgVqXe+Bvu5YBta2fV+MHpaVg6yVw39irx4Y6QzBXZ1HuQOx9jpQIj89PNz9lGD7disUG1CGZgzZQpodarE3pVbE62Gl6q0GvdpmtcdFj/II5Ppo1e8OKRfRNO42rLmKaC3qlkCI3uViLnz81/Sl5CWTaoF5WexCmwtJLOTD46M+/jl96A9Gx8NR/6Q7OB78x7P7xmpCKTeLrV2iWyDuWZO53dj2wshsiYqVjO0/3cakYmm3GNV7a09weDmwc36nob0x9g6qmfP/Y9BsTYdmJKwNUsVUZIeLftnwk5X3NNyVjctWuvVpuwEu+tMns3YOZT2Iz34d3yAm+aoNhX4X504KOvL6mJv85Rb5Vf+5PTfVMuBbf6ZwMZmh5XpphBMv8TSR8uIi7Qv1hCTbwNiyjDZ848Kat4o4jKMFhSlivbzMuIZHFb2+0ufv1NTgd3xccSXI9enN7BlNf2TGWBsTwe4NcV29faLTTxy1301Mu0XglJrfTv3PE5c1/8IOMyp/VGkwsmfnltyRS80FRKsyVRhnWNzMtmM/7FMtId7d3j8g8Mz93GLWoCNP8TX9yIP/jryv+D/NQ6m9MQQy37GiYfDlNntYuvTffwGSwTUn
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/proteus-v0.2/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/proteus-v0.2"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftn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SkMwS3dR71fsXa65USeX5/f/Ndgt3bbVBsQBmaGdOJMPvZaieLrYjXh0rVXwz6ra1tn/I+5hFWqt4i8N9hLsJ53m1vS5niytUtmADdp3zGQ/jXtKzoJbfNcvSs2rOuLzuhkA8PegH8OboPBqOD4Sg49N8dBP/17C6zmWTqrWVnT+mWkztWcG7vtrmMMhuoat1jO1O3c2lY2j1I897ZNLy+Xti6AcCxf21wHjRT6//7qNqZL81Q2RrFqrnKDiRBPSSg/Xe04o316ya782mzNa4610ez7I5FO7yPfxlfASZ6sQ2SwIfJFcMR4wGMi8Du54OmM92ctVq58a0/jrho1exJ94sUZmbkaWLo2cXgZ+wWUbaBsWUdh/BGuTVvE4sQYQkGMGA9P0+pYg8yfXnBz9+w3YHv8LigkmNQ4JvZbprOyQzCNlqi7Xvptnq7RMcfVlq/1phGDMExab+d+o+3Lp/+RF5nVP+Us8bInp1Ycj2XtCuITs1qMI6h7Jl9yW7Yx1aqvLm+uwfgqfuRx6xYR56kS/xpCf4deV/gf5yUCntjAGS+Q62j+ay0ecXSxf/+B2hSU8c=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/proteus-v0.3/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/proteus-v0.3"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZ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uzZy6cgnpEofZbGempdusVYxiUrIZxMtX6FWNs6cm5A6cUjotWGpovFQV58Lawk/XlkxcySClIuHxFUn4WJN7Oy6npA0AJW4J6EizC4d4zG2pFXMhvtvhuAwCzJmmEtxjvO5ge+xotlALU5G4qdIeHIfjiK94PI3xYuvgD9Rdm7bIwkxNGcfYrw1ydSeE1v+KuCOnvNu0I3o36pFT4sErI2Za7vkssGDn2A0dTnecbA9vj1vvVlpKTIOvMDJ0fnb2P4Zowi0I6S5qyzPTZpB5vEcFtR6lOP/a4Wn7+di4Fn7NPaI6VqA1rMmDzMyb9811mLVdQXUHNasvvQmddl1JzduQ/PCmAmfjYvwdpEgcOqew64qsWD/5eB060eC4mkxuvqmwnd1axDeU01mAhoxbro2LuCDG3UhVSCIEhcARHDW99TtUnXK+gqzwWfiR//G35Vd/wtndcx/0+TK5hg8jMRo+ZeNh/31HGDFOCGGRu73S75IF2AW+9dB07+W019g2eyB6moM85kbP3RJmuH6p8JdakgM4rMygR9InIOYixu+IzFCtjus19bJC3Vgi99dG72fY7Oq1LGxi569sNs1hodK8WU8XPw2/oAIC7LPSPzk96RMneZ6Ba6UQ95vmzruXy0YzvnV9D0G3fGV7hQThRpUL1yZE+54STdhO3Yq9izi+gXDZr6OOsVxQplBos5mB4Xdabrd0/EzXK57j4wtoATNy+576NJQVpSkRhgiY8BSkOdzGm959Nw419z17zQmqzUaRuh0AD9y88LSPXt1xaOOKozXFaokLHISF/Spvs2pvRrcTZJ6Fnz6Zu1kiDX9R2PB7ED3gx/2I8iFFJneO0w/UvPTl5fXS3z8Zm6UP
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/real-esrgan/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/real-esrgan"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"face_enhance"} required={false} schemaName={"Face Enhance (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Face enhance","title":"Face Enhance","type":"boolean","x-order":2}}></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={"scale"} required={false} schemaName={"Scale (number)"} qualifierMessage={"**Possible values:** `<= 10`"} schema={{"default":4,"description":"Factor to scale image by","maximum":10,"minimum":0,"title":"Scale","type":"number","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+B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Sq7fnOduvtbpvLbbTgiTQo9DZdFboZoc3y1ZQRel4957mXg4BijBltE6YtjvYhwm9X/ZLBnDavZW+rh7fu6xdS9+6zzSF+XpwPd0bPdkfD51s7L3b/G/jHraaQq0vGtQ9Xw1WvRu6p6IEnkIbQ0lvAXnek7qYI6ybWw7XT4WFvjFqONLvjxc4krz9XG66dSdWDoHo44ycyywMMN7VYHhS46UCnN/cN+XIP7Brfbufp281W/9bpe9p1f8sTVxXczV3UpXRvabkArurTS/egMFFt797//fBPnCwf4bAAkbaGRJ3cIeUusJVvyE39udyrtULjY1/IS2e14tZu5wmsgmiWL27eBT9RsUi87bj7qt0Q3zit3+eKcLAZuTIQfPs25kZc6OTujpa/UuGDdXyccy1pDEbfQLisoVw37edjcLAJjFSskfQ+KeihvfV670oyAqfw/XjsT07LyPqUrSdUP+13CPm9A49uswzfFUQvezUn9pEAc7sW9rIVNE+Oz84BPC4f/VNXUQSa39AF4fco+Iz/1Br5UToBuXVkPTht4Qr+wOOlf/8Dp7R19w==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/realistic-voice-cloning/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/realistic-voice-cloning"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"backup_vocals_volume_change"} required={false} schemaName={"Backup Vocals Volume Change (number)"} qualifierMessage={undefined} schema={{"default":0,"description":"Control volume of backup AI vocals.","title":"Backup Vocals Volume Change","type":"number","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"crepe_hop_length"} required={false} schemaName={"Crepe Hop Length (integer)"} qualifierMessage={undefined} schema={{"default":128,"description":"When `pitch_detection_algo` is set to `mangio-crepe`, this controls how often it checks for pitch changes in milliseconds. Lower values lead to longer conversions and higher risk of voice cracks, but better pitch accuracy.","title":"Crepe Hop Length","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"custom_rvc_model_download_url"} required={false} schemaName={"Custom Rvc Model Download Url (string)"} qualifierMessage={undefined} schema={{"description":"URL to download a custom RVC model. If provided, the model will be downloaded (if it doesn't already exist) and used for prediction, regardless of the 'rvc_model' value.","title":"Custom Rvc Model Download Url","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"filter_radius"} required={false} schemaName={"Filter Radius (integer)"} qualifierMessage={"**Possible values:** `<= 7`"} schema={{"default":3,"description":"If >=3: apply median filtering median filtering to the harvested pitch results.","maximum":7,"minimum":0,"title":"Filter Radius","type":"integer","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"index_rate"} required={false} schemaName={"Index Rate (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.5,"description":"Control how much of the AI's accent to leave in the vocals.","maximum":1,"minimum":0,"title":"Index Rate","type":"number","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"instrumental_volume_change"} required={false} schemaName={"Instrumental Volume Change (number)"} qualifierMessage={undefined} schema={{"default":0,"description":"Control volume of the background music/instrumentals.","title":"Instrumental Volume Change","type":"number","x-order":12}}></SchemaItem><SchemaItem collapsible={false} name={"main_vocals_volume_change"} required={false} schemaName={"Main Vocals Volume Change (number)"} qualifierMessage={undefined} schema={{"default":0,"description":"Control volume of main AI vocals. Use -3 to decrease the volume by 3 decibels, or 3 to increase the volume by 3 decibels.","title":"Main Vocals Volume Change","type":"number","x-order":10}}></SchemaItem><SchemaItem collapsible={false} name={"output_format"} required={false} schemaName={"output_format (string)"} qualifierMessage={"**Possible values:** [`mp3`, `wav`]"} schema={{"description":"An enumeration.","enum":["mp3","wav"],"title":"output_format","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"pitch_change"} required={false} schemaName={"pitch_change (string)"} qualifierMessage={"**Possible values:** [`no-change`, `male-to-female`, `female-to-male`]"} schema={{"description":"An enumeration.","enum":["no-change","male-to-female","female-to-male"],"title":"pitch_change","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"pitch_change_all"} required={false} schemaName={"Pitch Change All (number)"} qualifierMessage={undefined} schema={{"default":0,"description":"Change pitch/key of background music, backup vocals and AI vocals in semitones. Reduces sound quality slightly.","title":"Pitch Change All","type":"number","x-order":13}}></SchemaItem><SchemaItem collapsible={false} name={"pitch_detection_algorithm"} required={false} schemaName={"pitch_detection_algorithm (string)"} qualifierMessage={"**Possible values:** [`rmvpe`, `mangio-crepe`]"} schema={{"description":"An enumeration.","enum":["rmvpe","mangio-crepe"],"title":"pitch_detection_algorithm","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"protect"} required={false} schemaName={"Protect (number)"} qualifierMessage={"**Possible values:** `<= 0.5`"} schema={{"default":0.33,"description":"Control how much of the original vocals' breath and voiceless consonants to leave in the AI vocals. Set 0.5 to disable.","maximum":0.5,"minimum":0,"title":"Protect","type":"number","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"reverb_damping"} required={false} schemaName={"Reverb Damping (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.7,"description":"Absorption of high frequencies in the reverb.","maximum":1,"minimum":0,"title":"Reverb Damping","type":"number","x-order":17}}></SchemaItem><SchemaItem collapsible={false} name={"reverb_dryness"} required={false} schemaName={"Reverb Dryness (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.8,"description":"Level of AI vocals without reverb.","maximum":1,"minimum":0,"title":"Reverb Dryness","type":"number","x-order":16}}></SchemaItem><SchemaItem collapsible={false} name={"reverb_size"} required={false} schemaName={"Reverb Size (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.15,"description":"The larger the room, the longer the reverb time.","maximum":1,"minimum":0,"title":"Reverb Size","type":"number","x-order":14}}></SchemaItem><SchemaItem collapsible={false} name={"reverb_wetness"} required={false} schemaName={"Reverb Wetness (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.2,"description":"Level of AI vocals with reverb.","maximum":1,"minimum":0,"title":"Reverb Wetness","type":"number","x-order":15}}></SchemaItem><SchemaItem collapsible={false} name={"rms_mix_rate"} required={false} schemaName={"Rms Mix Rate (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0.25,"description":"Control how much to use the original vocal's loudness (0) or a fixed loudness (1).","maximum":1,"minimum":0,"title":"Rms Mix Rate","type":"number","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"rvc_model"} required={false} schemaName={"rvc_model (string)"} qualifierMessage={"**Possible values:** [`Squidward`, `MrKrabs`, `Plankton`, `Drake`, `Vader`, `Trump`, `Biden`, `Obama`, `Guitar`, `Voilin`, `CUSTOM`]"} schema={{"description":"An enumeration.","enum":["Squidward","MrKrabs","Plankton","Drake","Vader","Trump","Biden","Obama","Guitar","Voilin","CUSTOM"],"title":"rvc_model","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"song_input"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"Upload your audio file here.","format":"uri","title":"Song Input","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
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUB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QOBd6c24SdojoU0JOaABbzH5kM8cQIYftIOnsbKOaTgcxhXF3qBKXRF4xUl2bwU0+KttyKEbVjSYgXcvV44P/leh9yBM0ksF3A1LOtFQYk9LpnLaNveExZ7YKVYwqsNdzhbo3ollWXSBgA7bhHolSInFvENgzpHEGvi+xLHmd9ArGh0wQbhRQfZQ0c0el+Y+VHO7qirnfjZIwtnIfaIbXq/WoZpexikZzoPQ4jX2nLR0fvQf2G7XY5Zt2i76NSoUhC06J05CGnzhs7FTdihdMeb59ZIwakFxRkcg/MwFHQ4Hv+B7BoxQ3nSyK5NgkSGjVUqtr4m21W5redDLRefS4eoIxunelG/2S98rt17VVWkzvXu8G3HELU2Jf1q9XCiPGXthvwHdIiRRWcZdhUj5ezI2WtXiRrF57u761cZtk+32uICyvJMmVlKO3su5s1YnQQDuKkG69GgNpEeUD6AfjtZc/2YHKzH/SFmI+zH/Ww6VwkOlP34DBj0KV/wEH7bqhX95KYa/Z4VU+TmKBeu8vHhwRD+Hd8NR5PD8WR41B99OPx34Ca1Vf9SzmRbU1g/et0zYPRTxd1R2/tquuVKUj98qgTWB0J2CtQcuVSEbtxRPbcGCv/bKUJno4/dfaO7HlWt7f9LP9tqQm3nWevXiubLtS7Dsp3AA9tTzlenUBbqrVe75XVR/T7YyX8s6/ng5NfpJexEp3dRNexDe4vxiwEEBkFi/11KVcrudmW1ZPrWb4p8eBv2aAZZAs6AMm3IPfmg/YrlJWIbWVuWgQtPlNtvdBrBCyG5xJiHfU9Pc6rZvUqen/H1D6yQ4D18XFPFMYrwyc5/bbFl+2UXXlH3mL6u4D7w+D1T7csrW7shOeb5t3P/+can4F/Iy4LKb7YagtzaJ8fuwOf5gqJ1zVU7TuCmtGOV/bQPtex6fXV7B8Rz/52XHU9PAkU3eC7wexJ8g7/Yb2XuzIDIvofrkYpF7lKR44t//gNm+rf0
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/realvisxl-v2.0/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/realvisxl-v2.0"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6U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/91L0A1HYE3q0fOLfAaD9fbcDot8Hob4TRb4cxaIXRfirUgDFogzHYCGNQgrGuum/XrF4l16XxrC6tU4XGQOVSrq7fVoulRUdTqCzeG6XAUlNbuQ5rdJUaWa+oUO1clmrUknQBKSu7VGse1dpFt1IfyJJ9kzV3WzLZetpnUy8Q4prUp5h+ntQ0PtVTkSxTeNC3z6ZR2Z2e/Di6Akr0D8YpdTu9ThfdH/qfkOqdxN7nKzKBeoJa2ot2va1ovWPCnpKDOIAlwDG1d3q2Pu8jRueIraeXJPd78Ea5lvxW3wcebY5uFHg9P2MufC+Dlxf8/AWDTvgOj0sqOao7vukDFh2/6tqCsQO//TCrPOl1E8L7j6VLlTocxu64de7O/S9ju6v9lWweKL9xWRnItJ0advt268x6NCKHguIEgg9deF3f96G0Yd1c395hUdHexdQHQENH0kdcK/g9dD7BX8xXY7OO0El/h4iDillqXIbhi3/+D9SAy1A=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/realvisxl-v3-multi-controlnet-lora/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/realvisxl-v3-multi-controlnet-lora"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM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8DP2E2iLmvxAqm9DtO1alDL726y6fmIY9ml4ag4dRp02TJ59uX7ExRGwD6/Ei5eCJcuvYlrSDZFpizgL30xNewu9U/PyMr39ghwPv4eOaKo7hj092GG2bJXspdnkRtX/hUDVzlwn4lVnlezjbeyE51unXS39z40voW7JfUfElXU2RW/voxB34Op1TNI6pkuMETjo709pNe1+pjtdXk1ucyviv7+zEeRQo+oC7A79HwTf4i5ej1O0cENn3cLxRschcuXBy8c9/AcwAAMs=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/realvisxl-v3.0-turbo/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/realvisxl-v3.0-turbo"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9De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RiWIBBENgv7qsGtTlY1VLkW7+W8EFr2JMZZAn4AvK0gfTsQ/EzNo0o28jasgxHeKLcfn2wE5IQaEuMZMB7fp5TzR5U8vKCr79h3wPv4eOaKo6xgU922WhbKDvpuqCJunfCdQX3CY9fatS+KbEdGYJj9n479R9vfWL9ibzOqPwaZYeROzt15A589i4gWsWrwjiB+mcXIvthH2s58+b67h6A5/4LFrsLnQSKbvBe4O8k+AL/cWTK3J0BkH0PRY+KRe4SjKOL//4A5vkuBA==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/realvisxl2-lcm/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/realvisxl2-lcm"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL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RxopT0Rhof3VKlynCnALeuuR697qpNe4cPVA9gxmM86yRbOqmZdGMXUaU3bQY71jkHMZ02/EDrhLx/s72qeab+MGVd2ZGs3QdWtpDoI81c1eOftl+JlYMaWQ8f7xyXGfkRxVBn6bVDm9bF7pDurU2GivvZ1WCXX46HqFAunHkE/IpsrkDReRuZ34G+Qum/QG0leWM0p5WnD+Cb7ZzMDitVHbLS8/8KFJ6/S4AiNhxgHf8O6rmoVLkEjLAipjCsriC3F9N6466XvxHH3uuEbr+ZOdb7E8BYLsQzD3ttqcNaI1m/YaZzTeCvcittmLl6OrCYFn1Z0+8+dFZOBvThj9DqJb+vP/HYRkEsiv00yDfF6Gdgp2+fMVAotCIw==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/rembg/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/rembg"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"image"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"default":"","description":"Input image","format":"uri","title":"Image","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0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O+uc8vitFlpNos5rOCCKqosiVxtMQjzfUjyd2TDtSxVntsa2s5Oy+Tx3naoFzL0sONfJ5dAiQbk7HTQH/YH6BFokhm1wcX3/OvkcLtwCsLTe79oeIcx7Mns5ynoE/e05vvs3eALJmyIbYieUbsCvFEc73QHMPIV+hJQPz9jcXyn0pcXHP6OmQeMw+MDVRwbcfgGu/okxlazrn0N57Ggqd5uzIdi7hIBv4oEn1psToTLMX6+n/s/pj60/ZO8vlH1HaaxkZs7cez2fPwsV7Suj5riGG4g24jZvfY+iFrXVze32E/xX2hsU3gcKfqIpg9/x9FX+I9FS+5ODhbZcbh2qFgWzuMdX/z3J+NEP4s=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl-controlnet-lora/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/sdxl-controlnet-lora"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyF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x2B22uNbUfdFwBwBgsa6+ZXG9XNbQOO3ytVvqyytyQkx4z6fun/mPpk90+yW1HxTVZNkVv77MTt+YyaU7QKSslxDDXJzry2095X8tjV5fUNTm38d1x2zD0OFH3CUIDf4+A7/MXOJnXnBUT2PRQiKpaZi38nF//8H+95rbc=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl-emoji/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/sdxl-emoji"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLL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AijjYaDwf/IrhEYLmQjuzYJZBo2Vnmy9r3ZpsptPe9qufg8dYg6snGsF/UyfuFz7da6VJG60Luhrx2zfG1Y/2j1cFt5ylo5/AMHlMiiswK7Oo9y2nT2eqFEfri5uf6qwLZ3KxZ3oKzMGMwytVcgxbUHtSLBPlaq/fv+fu1iZJ+LfR09yl1JM1yCFtgd+v5Xg7ovLkpyJel2A9OFHu2TmD0uFiLE/7ZtpWgZV/cQp8WVRvNeAQv6YLjbw7/Dm15/NByMegd7bw/e/RO4a4OqxS8vCLZdCfh7gM1hvFeNu64Rbc2cLw+anbPgcGPa6lejzpb5pjaUFBOG6857ZctM8LY0ppUZypaz9WmzUSz6uDt7uzJP68F+9MvZJXKSL13I9Pb6ez0KToqOmNtz7u+rqj5tc/CoZYrX3sb52DXwaPYzyYXNozaSnnxEfqTeibD1KUirqMQ3Tt87IxPjbUlhjdxPTzOu4VbJ52f6/IWaAPyOj/dcCYocerOXILafsKOhC6mo+zKpruY2FehGr3ZNaNsTIqdU9nrp3499lvmBvbxReYfY2MitHTtxuz6VFRStTF5xHGExsGP1dtq7WgK5vprcIPHM3y7GtroGij/QnSb+HwWf8NdevTrPIZH9jhWAJ4vcNr+Bk0s//wGPtGiW
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl-lightning-4step/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/sdxl-lightning-4step"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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":9}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `<= 50`"} schema={{"default":0,"description":"Scale for classifier-free guidance. Recommended 7-8","maximum":50,"minimum":0,"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. Recommended 1024 or 1280","title":"Height","type":"integer","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 `<= 10`"} schema={{"default":4,"description":"Number of denoising steps. 4 for best results","maximum":10,"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":"A superhero smiling","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`, `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":8}}></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":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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXP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usXhamtq1GNEpKpG2XVlmqpo1qy6FXKAlmOb5PlXksCW8/2XMYFQlyR8RTTz3OZxqd6BpIlCPfmuttElr3o0U+jC6BE92B9Ua/T7/TQ66HbianZQNwFwiIBqOelpS1o2+uRzikm7CnpLiJYAhzTOKdn5+o+YFCO2PpmSXJ3B2/UnBuvdnngyGboNYHH8zOmvncqennBz58xxoTv8PhAFUc1xzdznmLCVVNKsPofth+blSe7aiJ40bJ0e9NEv9gdd8rtuX977Tax78j6gfKrnZWBbNuxZbfrdsqsRyNQKCiOINYwddbVfe9L+9PV5c0t1hDdpU9z3nPoKfqI1gG/D72P8BfT04VdP+hkvkOAQcU0ta7C8sU//wc5JPJ+
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl-multi-controlnet-lora/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/sdxl-multi-controlnet-lora"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sIVn/cN41j+K59MuPM8AzzchkjaMYd8/aCNB3ocA+Bt17rD7dLOpmI/NGVZyi9ktC7QHDCLXQJlGPGZwoLCIm/QVYqe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+PqKr39geQLv4ecT1xKdGZ9oBE6VDrWj1suD9m8V1W3tgowf2ypf8KhwQnJMsu+X/teJy39/Y/sVFZ/3aors2qkVd+iSbE7RuGNKjhFcUzTz2k37WEltN9e3dzi1cR/+aMw99DRfYxDA30PvG/yLnU1iTwqI6D3cTTxeZDbyrVz85w9InxBj
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/sdxl/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/sdxl"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXep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rftnHm1+JOwGnVU41Qt/c5+7mrt3lZVo9rQm+Jpxzrn7Wu3xg4rymF6HfJPmsDMj9oZhl3DSIn6zvpr1wgP4+N0evldhu3brUlsQhmesOWuhNmCy80Xp5OgD52qvxn2vd24T3kfsjE/QE8oJjfldlzIBFdaKBBq3EfCQ8qXPITfZtLF+Liql8/35R7bXCahhY+ODgbwczIdDMdHo/Hg+BAC79/A7or19F5thf4eOGwvaridud2pJi53kPqkMf+Xw3hjtDbztDfHmuF1z/RY863mwtbR7jRXDlszs/LGwg+/0w+Tz0CJvraXODgcHg4wXPC+Umoyz31EqCen3XXCy92XfiJx0aRhN+vnCeWmspmbfnIxcovTDOo2NH6t4gTeKJ67WIEIWGFoAf7T04IqdiOT7RaPv2AjhnN43FDJ6QItvkUvuJ5utjCuEBB17wy+YfuUxg8r3tcaMyIgOpaTl3P/6cpl+s/keUHVp5yGIAs7s+wOXDkpMVrVtKY4hYJsdtj9uDMviS8vrqeAvHAfeVxQS4prMf4eB3fw33wBs3cFSOYcqjDNloXNFssX//0HfFaWAg==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/shap-e/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/shap-e"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Predi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DLnCi/mF7U7FdQuP3r8ZHNVukITgm9LdT//Odz7V/IfsZVV/cWozc3kdH7tAn9BKic5/VGGdwJdrJzm7Yp0Yavb25fwDguf8WZ0fMk0DRNSzi70nwFf5iY5W7swIguw73IBWLwuUYRxf//Bft4/D6
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/ssd-1b/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/ssd-1b"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cXGaHGpakB56m9DeW/TDRVr2ZtlV8cz9P0mohqkE7qyEdmNzAdkiiZZjC8/k/VFnKCFMEv23Z8phYxBnih2tTnLETLLY2PX/G0wZE4+5Em9AApMuxPvhEtvfkNvYG+0296EpqFICBL75B2jS0ZmMU0XRAsiDY1/s3vOyFdAzt3rvRH8HWyCL6mKbVtatRpSV1NsSDykOV5UAuTjrv18sI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sRCKw7NQnPaKIrnpADFvAenbfxxAlg+EEZeAqCkfgUfA6DaKIWmL9WNFxRks7LbRqy1SbxgQ2LVyzv9q8Xzk++1iHvwRlFWgq4GtagSUGJnRiZQ5vc5PELHlgpluDzJ+Qwtkb1SiotpAkAOKYI9FqSU434lkGXmRBt4vsSx4VlIHprdMEtwskessc90Wh9YWYb7t2BRDPLs2fmz3wRsD30drUM02bLrmYq932I19py0Xba0H+DXS+HbP/WetGoUaUg6CL35iCkzbd0Lu/cptJ7vrw2ul6jVphHcAzGw3Cjfq/3F7JrwDLKo63suk0QCX9rlSYbW8LsqtzU87GWiy+FQbQnG8dqUb/GJzbXHryXKlLjenf4dc+oa6vWQD3MVpaydh3+SiMeaHRa4L7KoxxwGHu9cUV+uru7+a7A5ulWLCagtMyYZUuhJ4TFVBBLEacDN1Vn3e3U5oYdyjtQAswj1gp4GObYUrSqNhZTEzafdpyYywinCXbiA9LalC+4D791QYhOc1tN6y6Kwd/29A3u9V6/5cHP8M7rjvq9kTdo9/vefx0zXKv6j3KMdmhwZqdlu1MgPfopBi9QChdjh0qy6fOr90ZzXFva17Viq7rVKnarLu2drVmtnyqaI9NkeGXhP+wfqF0rdGVV2vi0W0sWpd6jnk+Goh4Ppz+Pr4ATz9l4ldfutj30X3SgmOpUYCe+VSm320fVksl759nWvTP2nHXSCJwO99Re9mKd9gHLK8TWRT+uHBfeKH5/y3nBJZcYACDk5WVOFbuX0esrfv6G5QJ8h0c9YZqjGR4e9bxOVx661zJeF+yfyta1PaQJjsZr83ZdyCA5Jr33S//x1uajn8jbG5XD+K2NzNqZEdeySa+gaOT8iuMUrg09FjhM+1hLNTfX0zsgntsxfazvYUfSJ/zjAPweOV/gv/4bhjlAINLf4a6gySI3EWrk4r/fAZFTfoc=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/stable-diffusion-inpainting/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/stable-diffusion-inpainting"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/56Df1HWLJPhs+0Mv5wLoSDgmSrrE3Mr0EEIMk/Qx+c+vPDUvgz9Cu6brBZiDvsSqquO4cX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BzmXCzBE/VDguCgZmtiYXbBFe7SB73BGNhS/Mi85ku3PrJn54An/uY0u5g75YrcK029uoucp9H+O1sbxI0wh4Uob+V9jNcgi7tzaLVo06BWEDszMHEW3e0rm6artK75h57TRcVq0wj9AM1sNoo+Fg8BeyawCai6iVXdsEUeq3VnnyXFQu2yp39Xxs5OLL1CLakY1jtWze7FdFrt17VdWk1vXuaXbHm0Cj6f9g9LBbFZSNG/JnHmEXSuiMwF3FSEl6bs9rW4kGxfv7+9tvCuxat2axAWVkxqBXqXlKKZ9PqDpxDvGmOtz0DxsPLIdcHGJVsIjgIBBhmCt71ArkpnxsyWVE3SumCjU5JBE9LpbCx/+m+CNPmdVvGRfls0j7bQIv88HwwMO/8b3XnwwHE2/UG707/tWxTw91q1E9Mmw/K5i3hLKTx7q228fWQnY2mNRVtrq6ft1QvbGLarQ+ZR9j+wGvKtLHwz01aI2uqi47U9s1YVmyPZrXlzBtOvHpj9Nr5CQ7WVfwev2eR05HVo+5id/iPauuv7ZbnkYGeOtrXeGTGp70YRZxYfKj8ZKXwtM+UE1E2PrkfLW34YjTfMfj0I9W5KrI+fKy4AoeZPT6StOf6WLHefzccCmIj0bmUcfUCKYZEooW0A4hjxR8RcV98Om1r/GEaEoOIqf09Hbp/5gVmeN79vWNqvfF1kZ27cyKOyjSU0nRyc41xykmeNO276d9bCSF25u7eyReFC+PsbkxHcm/0Hsn/p84H/HXPMtaqyGRmceszpNlbgpax8qln98Bv0ZhMw==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/stable-diffusion/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/stable-diffusion"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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":7.5,"description":"Scale for classifier-free guidance","maximum":20,"minimum":1,"title":"Guidance Scale","type":"number","x-order":6}}></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={"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":3}}></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={"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":4}}></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":8}}></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","completed","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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wl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ue+SbyUze5GNCrCnupJYHHRmUGPZI85mIuYvx2gw/V6bieOD9XiBvzYJgA6/HNv+L749cz00yzQeSpatbQ2S/DL6iMgPpM9I9PjvvESd5m3F2fEOur5ti6l7/GBXztBB4CbeHJ9grJhWtPLkybEOFbSi5hO3FT8i7KuON0XkUa47egzKDAZjPjBm603G7p+JGeUzzH5YprwWfk8i3dy1BGbs4VhgiY4JRLAy949nYcauwH9pwDVIuNonRvPh64/uBp517du3BtK45W16olzrDxFfZF3maVXo2uJ8g8C79cMveSRJp/o0uC34PoDj/uN5APJzK5c+x2PJ+Xvsy8Xvr7Bw60kTY=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/swin2sr/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/swin2sr"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"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={"task"} required={false} schemaName={"task (string)"} qualifierMessage={"**Possible values:** [`classical_sr`, `real_sr`, `compressed_sr`]"} schema={{"description":"An enumeration.","enum":["classical_sr","real_sr","compressed_sr"],"title":"task","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo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dDTs/9YSRowTmrBQ7v7l71y4PS/wrYeqe6vDXuVW1gPRM19FJshAw/WqNL3QkmzHOWUGPWI8ADEXMX66Ex2V6Wh3k3tXGly5Z4Wb1e5a5G9CdP0Jdwg62VfOy88+HD5wdqsOlWymqnV3/H74GS0g73z2+geHB31CUoRScC0X8nNevUPu5bzStM+9DgfP6HDVyyUIN9JcbO9DVq6oIMi2Q3dl3WYG34DWQ3Yw5gtKJuLv76dg+KWWmw0tf6EdGNfxcQVawJQ8vqJWDpXn7h/CEAFrYgbS8Ecc+2kUyvJn9pD9VL6VOnbHBFxwI8XTTry4buj0EtEYdDuOY5yVuX0UWy3s87OLMYKn4b8Iqdt8Ig1fqa/wcxBd46/7f4SPJoLcOg5IyOaFL00vl37+B11kyv8=
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/swinir/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/swinir"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"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={"jpeg"} required={false} schemaName={"Jpeg (integer)"} qualifierMessage={undefined} schema={{"default":40,"description":"scale factor, activated for JPEG Compression Artifact Reduction. Leave it as default or arbitrary if other tasks are selected","title":"Jpeg","type":"integer","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"noise"} required={false} schemaName={"noise (integer)"} qualifierMessage={"**Possible values:** [`15`, `25`, `50`]"} schema={{"description":"An enumeration.","enum":[15,25,50],"title":"noise","type":"integer"}}></SchemaItem><SchemaItem collapsible={false} name={"task_type"} required={false} schemaName={"task_type (string)"} qualifierMessage={"**Possible values:** [`Real-World Image Super-Resolution-Large`, `Real-World Image Super-Resolution-Medium`, `Grayscale Image Denoising`, `Color Image Denoising`, `JPEG Compression Artifact Reduction`]"} schema={{"description":"An enumeration.","enum":["Real-World Image Super-Resolution-Large","Real-World Image Super-Resolution-Medium","Grayscale Image Denoising","Color Image Denoising","JPEG Compression Artifact Reduction"],"title":"task_type","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDG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xPBfT4K2ehAtkQUDm1F1tgWfJT+7LKrfoGQSGC6QaCE9EhrnUOiZzaMebNG5GA5AMhLcZUlhfo3k5lmHSVAAoJqjolSTHRuMx04kUxLj4JtfjLCUgRjSmYAVx2II2bTmNaS7M0sa+Pvg0Cz97ZO7MhYmsBT+F5se0ORqomUpcF85rCZx1h+nRf4HcgH3WLtoArRlFCYIJoLUGIW5SsTm7CVuMbtl5bjTJ1iw/CSAMNsNQ0MH+/k9UV49pyoNKda0iBJFbgVLxlLZhdZObdk5Ltfgishq1VONQLco3+zCttVuvqgLVpt417raM1KWZ+dbYYUWlmKUb8i8awBiH2hmGbc1Ihnpq/VU3ooRxfn09epVhM7oFiT1QhmfI9DIyLxHZ6wN2J04HbqrOutcpvU90KO/oJRcrj/t+omDrEbVUTK6zt4pEBvjAAKVC9TvIYo/yBXfhv2lbMVPGxVPAWfaqUB3t4TLfP9jtwt/RdbfXP9jvdw/3Dnu9fx07uRedfD6j16fyD8UgbNvLxpxaMKlOkXZ0bJ3pcJCrDFK9Yop58+hSmjey4cG24d28N0aNt/SmhdZ519nYqveKWSs3NY8aflRO7uMvg0ugxPjZFOnu9fa6mIyYDSE15zp9Jir6svqEUaoMb30ES3NVs0fdiQPwEso02bNJM/AWeyXUrYdJWWQhrKjpyOqZCPm1xBQGys1mThW7kcHzM25/xwsf9uFzTSWnc7T9dmpeS0zvYCY+rhAAkfBpoOrPB2UTt6mPj2illznTiiA6lq23c/9lnFaUX8nLgvJnu4ogCzux7HbTspVhNKp2QXEMhd9My9txp6ViMbqaXAPyPH3QC81N6kj6gM+I8L/v3MGvee20UQMksw/VnopFYhpdx/LFn/8A31g8GQ==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/thinkdiffusionxl/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/thinkdiffusionxl"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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 `<= 50`"} schema={{"default":7,"description":"Scale for classifier-free guidance","maximum":50,"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={"nsfw_checker"} required={false} schemaName={"Nsfw Checker (boolean)"} qualifierMessage={undefined} schema={{"default":true,"description":"Select to filter for NSFW content","title":"Nsfw Checker","type":"boolean","x-order":9}}></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":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`, `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":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":["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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgH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lQib46UssAutF+2L6fS125z2z/4LZPjr0nu8m7eNV/yUqvOdM6jeVP/whpXn9aKr5pjF9MJM0M4/UY90Ul891NwpO/jn9iTaCfAFLk/HheEKU5C9qDkBcoeW8+2bcQ2AnhXzq83cFFTLmQaFQftOZ3sf3FUZ+JXiSbIfRqPs+Tu2DL9W6WAEClgQwcN3f01vztVG7HU1/oKoA8xiuuZFU89IXTquiwTdWdVl+POfKiifUe3ZRhcpz9pgWFFKd2PKlCyZ8mgtrp2G7F1X2qSkGybflOEH+LtyTtN1gOz+7vALxrPq/g8xfiGhnNr6p2WD8Dn8j+l+IYFMQ+XkkbUCp9PVqFPalP78BKhGO+A==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/tortoise-tts/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/tortoise-tts"}></MethodEndpoint>
......@@ -34,7 +34,7 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"custom_voice"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"(Optional) Create a custom voice based on an mp3 file of a speaker. Audio should be at least 15 seconds, only contain one speaker, and be in mp3 format. Overrides the `voice_a` input.","format":"uri","title":"Custom Voice","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"cvvp_amount"} required={false} schemaName={"Cvvp Amount (number)"} qualifierMessage={"**Possible values:** `<= 1`"} schema={{"default":0,"description":"How much the CVVP model should influence the output. Increasing this can in some cases reduce the likelyhood of multiple speakers. Defaults to 0 (disabled)","maximum":1,"minimum":0,"title":"Cvvp Amount","type":"number","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"preset"} required={false} schemaName={"preset (string)"} qualifierMessage={"**Possible values:** [`ultra_fast`, `fast`, `standard`, `high_quality`]"} schema={{"description":"An enumeration.","enum":["ultra_fast","fast","standard","high_quality"],"title":"preset","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"default":0,"description":"Random seed which can be used to reproduce results.","title":"Seed","type":"integer","x-order":6}}></SchemaItem><SchemaItem collapsible={false} name={"text"} required={false} schemaName={"Text (string)"} qualifierMessage={undefined} schema={{"default":"The expressiveness of autoregressive transformers is literally nuts! I absolutely adore them.","description":"Text to speak.","title":"Text","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"voice_a"} required={false} schemaName={"voice_a (string)"} qualifierMessage={"**Possible values:** [`angie`, `cond_latent_example`, `deniro`, `freeman`, `halle`, `lj`, `myself`, `pat2`, `snakes`, `tom`, `train_daws`, `train_dreams`, `train_grace`, `train_lescault`, `weaver`, `applejack`, `daniel`, `emma`, `geralt`, `jlaw`, `mol`, `pat`, `rainbow`, `tim_reynolds`, `train_atkins`, `train_dotrice`, `train_empire`, `train_kennard`, `train_mouse`, `william`, `random`, `custom_voice`, `disabled`]"} schema={{"description":"An enumeration.","enum":["angie","cond_latent_example","deniro","freeman","halle","lj","myself","pat2","snakes","tom","train_daws","train_dreams","train_grace","train_lescault","weaver","applejack","daniel","emma","geralt","jlaw","mol","pat","rainbow","tim_reynolds","train_atkins","train_dotrice","train_empire","train_kennard","train_mouse","william","random","custom_voice","disabled"],"title":"voice_a","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"voice_b"} required={false} schemaName={"voice_b (string)"} qualifierMessage={"**Possible values:** [`angie`, `cond_latent_example`, `deniro`, `freeman`, `halle`, `lj`, `myself`, `pat2`, `snakes`, `tom`, `train_daws`, `train_dreams`, `train_grace`, `train_lescault`, `weaver`, `applejack`, `daniel`, `emma`, `geralt`, `jlaw`, `mol`, `pat`, `rainbow`, `tim_reynolds`, `train_atkins`, `train_dotrice`, `train_empire`, `train_kennard`, `train_mouse`, `william`, `random`, `custom_voice`, `disabled`]"} schema={{"description":"An enumeration.","enum":["angie","cond_latent_example","deniro","freeman","halle","lj","myself","pat2","snakes","tom","train_daws","train_dreams","train_grace","train_lescault","weaver","applejack","daniel","emma","geralt","jlaw","mol","pat","rainbow","tim_reynolds","train_atkins","train_dotrice","train_empire","train_kennard","train_mouse","william","random","custom_voice","disabled"],"title":"voice_b","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"voice_c"} required={false} schemaName={"voice_c (string)"} qualifierMessage={"**Possible values:** [`angie`, `cond_latent_example`, `deniro`, `freeman`, `halle`, `lj`, `myself`, `pat2`, `snakes`, `tom`, `train_daws`, `train_dreams`, `train_grace`, `train_lescault`, `weaver`, `applejack`, `daniel`, `emma`, `geralt`, `jlaw`, `mol`, `pat`, `rainbow`, `tim_reynolds`, `train_atkins`, `train_dotrice`, `train_empire`, `train_kennard`, `train_mouse`, `william`, `random`, `custom_voice`, `disabled`]"} schema={{"description":"An enumeration.","enum":["angie","cond_latent_example","deniro","freeman","halle","lj","myself","pat2","snakes","tom","train_daws","train_dreams","train_grace","train_lescault","weaver","applejack","daniel","emma","geralt","jlaw","mol","pat","rainbow","tim_reynolds","train_atkins","train_dotrice","train_empire","train_kennard","train_mouse","william","random","custom_voice","disabled"],"title":"voice_c","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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ7PU9kTFIkHIcgVPGpaSaUBgbJvuRM6UMRrr3RnReIVLNU4yPNspgHRnhwq9DonaeCOUsoPjXRXIBJp4nMQBWJhAR4lT2wlEkEozlTKM/TLDdmmssU/bH6I5rHwOH5o0f+Y5BvWqTWcSppwjSTxqB13JnTXKMmb2w0wvs6w1elJcQM3ldPhAyZ9Eb7mx5o44nxdApwkkyrbQjgzIzRXPMoj0kmpJaUayIiWP8qEpqS2ZqMpb5hMukRLVkaghVMBiwqTR2mpgtnxpQNVWG/T2B1yUNG9iJ0jaR5MgP3RsQCI1SDm1wRQ93rEcUwBpqRkEcRA8PacSryles52ftnr09O6IIRlUtmQtRQHAqmSCo0YauAsdDGkK6mhkn1G4F0GMmZi9GOoA4hqIGIhZwGYo6wApNVGsenkTf6vF0/45QwAORqFa3iKzB670WK2TuhOpiTNwa5T47OP7TW3o0PW2uTt4fedeXBNqBt/JvrXi3pXepL/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35UnuQ5Vb9ExTywVSDYQXwmPOjMmhhyfLJk3saQDiQfD5I1I4X6N5FZZl0lQAKK5QUdh3j6zGl8wUShDr4mGlx3FJQKxoTME1xLMWtLuW1lDmwqg8k2ye2ZrVyR5ZPMJlsgW/hFZl2jzV6JEu4hjqNQD7rbcs/WfILXjC2kVboDOjHm4Fbz1dWdxizeaq6zWNbvmyauwTzizYAyAMLsNQ0H6//x39H/ZgytOw+W4OAhmvQalYlgvYpslNO++CRn4qnUaNRg57gJ6GI+Os7LVbJ2eN6lLvGr+23AasDQi0w4kqMYNB8ZmmPLHaWYatE6NEfe/89cwQ/3h9ffFNhs3o1iSuoCzPjJmZtJco/uIEl6WoC5Oqu9jrBlcrXcq7DzMOI1jtJJwq/tV7WzO18Dct9tQbYX/Rgy5y2aV8ymP4tQstJstlfZFx7O9E1i8mYOPo7+/04O/wurc32O8Pege7B/u//hu5e4d6q69uGNydQg1YO/9vfHY6Vt82T8/uyFyvJzXm+grSa57FevURqKbaftgITw5btuOaTbX3Nj5tbqt+mbyzVzATGebz0YeTT0CJ8XJZ0dvd2+2hdEyAjNpSLi+16mVx8+QRNIOXXtmV6YnHi26eUm5bZXlH4pLuBtcj1G0P87BOPHij+L0t+SClZpi4QPz0NKaaDVW6WuHnLzjm4Ts8LgCfjtH8G3RJuTHYEx7XCICUmtBUb16UhFZuswBv/YKrRLuAIDo2q5dz/+Gy7CM/kucFVfeMa4Ic7J1jt1M2K4/R6NU1xRG0e3tY3o57F7SIi/Ora3uidTeQmZ2fkaIPeO8Jv4PoFv7b61kXOECy38NlP3J88d9/yXaKBg==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/whisper-diarization/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/whisper-diarization"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3sSMZJKFPEAKgf96zkgiQhZ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l2m6ax4RGaRlnD6vn601G3LRFXiGnTwxQESB1ymtIpL4iMsl0GSeucWimnqLhQ2B4W0O9BoqJLAuA8hmCnllxwBJfKMpbcsEmvmrkeBcQBLOGC84BnqwAu14R7sEX+uE5ZCmcl6JT3am4T9mYWgEfZpswXX5QcX1XxTHFa2u6TgBC6D+BztMDtZo1T3o1ZvtWpVc+7DBsNaezJocdUjSsUHrFyONiRnTp1RpUKS2D9zAw2tvd/QunGO2flO+i1xz28wCpiedmZT4NSemiyst6XrdO6GMTLxwI/mBHTe+G7dPjJOy1a1OCGah3vR5Gv3VQpHxpDVYBspWJ/CpTnbB0THBV0tc6r6VOl5RoQRz2euffJLi8ujMUH1BMM1PlyPD7bf1miyyws00n1fZkZ7v1qrst9fatv9TANqTspH7YrWyK19i6nC70ltRDHVPL6T4c5GL2bvqufoKdfwelXGl3b7NLf6963Z39vd397sutlz/t/qfjnzlnZWTzoBmeMGczT7458kPjU893/s1u8UFqRn2WXPlHnhVXXbjfCvdH7UujlVc5fH8zu9TorrgA8FX/XKXcfVbtygXrQtI1X2y16iQujtZUHTPtm3piaWixCqiT9Gt+3huYdjgdfDg6Rcnor8xooLu1s9WF+8P/cP9PwOE5f5ZxLxaHrb3ouT9WCNEB7bfZEODJjvsQfP4zsjPItsP5deP39I2vdGvfJ48eIVYI4eEhopr/yqaPjxj+isyCxqk7wXNDBJU/wwwhSeFCm59ssWOsKkrbmq2TGr9xaP1wgnMegGN/fD71Hy7C1vWjeJpR86uKOUZ+7o0ntxn2xxpi6XiYYRzEuEp6Eva6tSudn132Ongn9b+3yPjI7lh+0kS73/lC/6MeLPxiERCPP7TD1dPFf/8Fbz/MPA==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/whisper/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/whisper"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5k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rEk2alN8gTkhMlZ5TgQw+nJqMb2hCEmnIlGPdhYKANQw9TgDDK+3gaUhGElKIOUyiSz2DukcWdLqgJJ0U2zR063USgpgQtrbvoefBT56rkFtwCmG1QKjB5lmSc86NSckE7vmmTJjLACUnwfJ7lHBnjeYVXFZJEwBI3CLQKwX3LD74Sm6P+L7A8c4LELs1hmCN8bKF7aklG30sjH3HsNtRNas8W7FwHEKr18LvqUWaNnsOPdZZGEK+Vsj5LeRT/wVxS56y9q0t0ZlRlqCMt/Y+ljer2Yy37QyyocXolpXt7r1968yaZgLc4CIMNzodDL6hukbMUC5q1bXOIGRYo9JkfTW1TfWuyU07nyq1+IN0iFqqcaxn1Wv80tfavfdSyepC7w5XW3r1WpOBdritPGflOvyTCh5ZdFZhW+eRs7515/XCFfn+7u76qwqb3i1FXEJZnTDCzKUdcfKxBluRoAs3VXfZ71YGny7l3S9Myf7gJBWZxg+WI6aW+QyUKYGDC1QKPeyihg7lMx7Cd4DjBQbKTTlivMunlfrIAHf54PS4B39nd73+8HQw7L3unJ2e/Bu4iaBso4ve33f7JaWlp/Z96ktdrWXZ0wKWuovmrrG025LlHdOTnVOmshpW57+OPoIkHp1zTq/T7/QwDNAPMbUZ5Se/siMKdlxayclD51ofJYatTDcVlNuKZR238b5/wC4FsfUxHEr/wxvF9d0YAM/OMXZAcLOZUM3uldhucfkT3rSwDo9LqjidoOkPeBz+0sagibhGQtQ+SlQt3Icex+LKrG17AGTHenG49u9ufCp/T17eqBjEaxs52hun7tjXi5yjUS5LiXOouKl5kfepkqXXV7d3wDzxI3psr7BA0c8Y9fA9DB7h1/7/wjkNmOw6lFmazDKXKE4v/vwH3e3Xxw==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/zero123plusplus/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/zero123plusplus"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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. Aspect ratio should be 1:1. Recommended resolution is >= 320x320 pixels.","format":"uri","title":"Image","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"remove_background"} required={false} schemaName={"Remove Background (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Remove the background of the input image","title":"Remove Background","type":"boolean","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"return_intermediate_images"} required={false} schemaName={"Return Intermediate Images (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Return the intermediate images together with the output images","title":"Return Intermediate Images","type":"boolean","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
</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>
Validation Error
......
......@@ -5,7 +5,7 @@ description: "Run a single prediction on the model"
sidebar_label: "Prediction"
hide_title: true
hide_table_of_contents: true
api: eJytWHtz0zgQ/yoaz9wU5kLilMJx+S/l1d5R2ktbBo52MootN2psy0hySOjlu9+uJL9iNxTuKNPa2tdvH1qtfOeFTAWSZ5qL1Bt5kzwllCie3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CVXWnrU7OXLFq9azPjz4WfDwefxscgiXtuo6q309/pYfxiACXUlAJ3d1e1cs2xySsmz72ZdOGt2a3ezWLKTak1EXfvgvYK2yvEhkO9F7g44uP3ZvBCSC4x6EHw/n5GFbuQ8cMDfv6OLQJ8h8c1lZzO0PWra3PrY7oNc+fAFRKi7knN93ATerzY9G5LTfOC7Fjonq/9xcTVoJfkcUPlVWrNkKW9s+q2XaErOFp1vpI4gKPCTLibea+98nJ6cnYOzDN3yZqYszeQFG9i8P8o+Aq/5gbabhowme9wPtB0kZvWOLB68edfxgG+IQ==
sidebar_class_name: "post api-method"
info_path: docs/publicModelsAPI/zeroscope-v2-xl/agin
custom_edit_url: null
......@@ -26,7 +26,7 @@ import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Prediction</h1>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/deforum_stable_diffusion"}></MethodEndpoint>
<MethodEndpoint method={"post"} path={"/api/v1/predictions/ai/zeroscope-v2-xl"}></MethodEndpoint>
......@@ -34,11 +34,11 @@ Run a single prediction on the model
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<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={"**Possible values:** `>= 1`"} schema={{"default":1,"description":"Batch size","minimum":1,"title":"Batch Size","type":"integer","x-order":11}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={undefined} schema={{"default":8,"description":"fps for the output video","title":"Fps","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"guidance_scale"} required={false} schemaName={"Guidance Scale (number)"} qualifierMessage={"**Possible values:** `>= 1` and `<= 100`"} schema={{"default":7.5,"description":"Guidance scale","maximum":100,"minimum":1,"title":"Guidance Scale","type":"number","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"height"} required={false} schemaName={"Height (integer)"} qualifierMessage={"**Possible values:** `>= 256`"} schema={{"default":320,"description":"Height of the output video","minimum":256,"title":"Height","type":"integer","x-order":7}}></SchemaItem><SchemaItem collapsible={false} name={"init_video"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"description":"URL of the initial video (optional)","format":"uri","title":"Init Video","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"init_weight"} required={false} schemaName={"Init Weight (number)"} qualifierMessage={undefined} schema={{"default":0.5,"description":"Strength of init_video","title":"Init Weight","type":"number","x-order":3}}></SchemaItem><SchemaItem collapsible={false} name={"model"} required={false} schemaName={"model (string)"} qualifierMessage={"**Possible values:** [`xl`, `576w`, `potat1`, `animov-512x`]"} schema={{"description":"An enumeration.","enum":["xl","576w","potat1","animov-512x"],"title":"model","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"negative_prompt"} required={false} schemaName={"Negative Prompt (string)"} qualifierMessage={undefined} schema={{"description":"Negative prompt","title":"Negative Prompt","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"num_frames"} required={false} schemaName={"Num Frames (integer)"} qualifierMessage={undefined} schema={{"default":24,"description":"Number of frames for the output video","title":"Num Frames","type":"integer","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":5}}></SchemaItem><SchemaItem collapsible={false} name={"prompt"} required={false} schemaName={"Prompt (string)"} qualifierMessage={undefined} schema={{"default":"An astronaut riding a horse","description":"Input prompt","title":"Prompt","type":"string","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"remove_watermark"} required={false} schemaName={"Remove Watermark (boolean)"} qualifierMessage={undefined} schema={{"default":false,"description":"Remove watermark","title":"Remove Watermark","type":"boolean","x-order":12}}></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":13}}></SchemaItem><SchemaItem collapsible={false} name={"width"} required={false} schemaName={"Width (integer)"} qualifierMessage={"**Possible values:** `>= 256`"} schema={{"default":576,"description":"Width of the output video","minimum":256,"title":"Width","type":"integer","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":["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
</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>
Validation Error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment