<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"in":"header","name":"apikey","required":true,"schema":{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>input</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"angle"} required={false} schemaName={"Angle (string)"} qualifierMessage={undefined} schema={{"default":"0:(0)","description":"angle parameter for the motion","title":"Angle","type":"string","x-order":2}}></SchemaItem><SchemaItem collapsible={false} name={"animation_prompts"} required={false} schemaName={"Animation Prompts (string)"} qualifierMessage={undefined} schema={{"default":"0: a beautiful portrait of a woman by Artgerm, trending on Artstation","description":"Prompt for animation. Provide 'frame number : prompt at this frame', separate different prompts with '|'. Make sure the frame number does not exceed the max_frames.","title":"Animation Prompts","type":"string","x-order":1}}></SchemaItem><SchemaItem collapsible={false} name={"color_coherence"} required={false} schemaName={"color_coherence (string)"} qualifierMessage={"**Possible values:** [`None`, `Match Frame 0 HSV`, `Match Frame 0 LAB`, `Match Frame 0 RGB`]"} schema={{"description":"An enumeration.","enum":["None","Match Frame 0 HSV","Match Frame 0 LAB","Match Frame 0 RGB"],"title":"color_coherence","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"fps"} required={false} schemaName={"Fps (integer)"} qualifierMessage={"**Possible values:** `>= 10` and `<= 60`"} schema={{"default":15,"description":"Choose fps for the video.","maximum":60,"minimum":10,"title":"Fps","type":"integer","x-order":8}}></SchemaItem><SchemaItem collapsible={false} name={"max_frames"} required={false} schemaName={"Max Frames (integer)"} qualifierMessage={"**Possible values:** `>= 100` and `<= 1000`"} schema={{"default":30,"description":"Number of frames for animation","maximum":1000,"minimum":100,"title":"Max Frames","type":"integer","x-order":0}}></SchemaItem><SchemaItem collapsible={false} name={"sampler"} required={false} schemaName={"sampler (string)"} qualifierMessage={"**Possible values:** [`klms`, `dpm2`, `dpm2_ancestral`, `heun`, `euler`, `euler_ancestral`, `plms`, `ddim`]"} schema={{"description":"An enumeration.","enum":["klms","dpm2","dpm2_ancestral","heun","euler","euler_ancestral","plms","ddim"],"title":"sampler","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"seed"} required={false} schemaName={"Seed (integer)"} qualifierMessage={undefined} schema={{"description":"Random seed. Leave blank to randomize the seed","title":"Seed","type":"integer","x-order":9}}></SchemaItem><SchemaItem collapsible={false} name={"translation_x"} required={false} schemaName={"Translation X (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_x parameter for the motion","title":"Translation X","type":"string","x-order":4}}></SchemaItem><SchemaItem collapsible={false} name={"translation_y"} required={false} schemaName={"Translation Y (string)"} qualifierMessage={undefined} schema={{"default":"0: (0)","description":"translation_y parameter for the motion","title":"Translation Y","type":"string","x-order":5}}></SchemaItem><SchemaItem collapsible={false} name={"zoom"} required={false} schemaName={"Zoom (string)"} qualifierMessage={undefined} schema={{"default":"0: (1.04)","description":"zoom parameter for the motion","title":"Zoom","type":"string","x-order":3}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"output_file_prefix"} required={false} schemaName={"Output File Prefix (string)"} qualifierMessage={undefined} schema={{"title":"Output File Prefix","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
Successful Response
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"output"} required={false} schemaName={"uri"} qualifierMessage={undefined} schema={{"format":"uri","title":"Output","type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>task</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>api_error</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"message"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`No + TaskIdKey + key found in request header`, `No + RequestIdKey + \" key found in request header`, `No + TaskIdKey + value found in request header`, `No + RequestIdKey + \" value found in request header`, `No + UIDkey + key found in request header`, `No + UIDkey + value found in request header`, `Uid value strconv atoi error is: \\%s`, `Query db error is: \\%s`, `Json marshal db content error is: \\%s`, `Can not find out the task id %s in result cache.`, `Msg to kafka pb marshal error is: \\%s`, `sync call back error is: \\%s`, `sync response json marshal error is: \\%s`, `Callback proto unmarshal http body error is: \\%s`, `callback errror is: `, `Http header in callback body marshal error is: `, `Sync Or Async Return Json Unmarshal Error is %s`, `Task Return Json Marshal Error is %s`]"} schema={{"enum":["No + TaskIdKey + key found in request header","No + RequestIdKey + \" key found in request header","No + TaskIdKey + value found in request header","No + RequestIdKey + \" value found in request header","No + UIDkey + key found in request header","No + UIDkey + value found in request header","Uid value strconv atoi error is: \\%s","Query db error is: \\%s","Json marshal db content error is: \\%s","Can not find out the task id %s in result cache.","Msg to kafka pb marshal error is: \\%s","sync call back error is: \\%s","sync response json marshal error is: \\%s","Callback proto unmarshal http body error is: \\%s","callback errror is: ","Http header in callback body marshal error is: ","Sync Or Async Return Json Unmarshal Error is %s","Task Return Json Marshal Error is %s"],"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"request_id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"exec_code"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"exec_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"is_success"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean"}}></SchemaItem><SchemaItem collapsible={false} name={"task_error"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_fee"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"format":"uuid","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"task_uid"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"output\": \"string\",\n \"task\": {\n \"api_error\": {\n \"message\": \"No + TaskIdKey + key found in request header\",\n \"request_id\": \"string\"\n },\n \"exec_code\": \"string\",\n \"exec_error\": \"string\",\n \"is_success\": true,\n \"task_error\": \"string\",\n \"task_fee\": \"string\",\n \"task_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"task_uid\": 0\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"422"} value={"422"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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={"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
@@ -34,7 +35,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":"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>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Header Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"example":"respond-async","in":"header","name":"prefer","schema":{"example":"respond-async","title":"prefer","type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"example":"L6eXzteHYa2Uq0ar4kdMaBOiOIjmRI08","in":"header","name":"apikey","required":true,"schema":{"title":"apikey","type":"string"}}}></ParamsItem></ul></div></details><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><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={"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></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>