renyurui / controllable-person-synthesis
Human pose manipulation for fashion (Updated 2 years, 11 months ago)
Prediction
renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ecIDwurfpgyurzhbzjpnqfyttuucnuStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- "729973005"
- desired_pose
- fashionMENSweatersid0000217901_4full.txt
{ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/ab874811-dd38-43d3-8dcd-458956002a38/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/67f6376b-85a4-4ce1-945c-0cd16e0abb05/fashionMENTees_Tanksid0000675601_1front.jpg" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", { input: { seed: "729973005", desired_pose: "https://replicate.delivery/mgxm/ab874811-dd38-43d3-8dcd-458956002a38/fashionMENSweatersid0000217901_4full.txt", reference_image: "https://replicate.delivery/mgxm/67f6376b-85a4-4ce1-945c-0cd16e0abb05/fashionMENTees_Tanksid0000675601_1front.jpg" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", input={ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/ab874811-dd38-43d3-8dcd-458956002a38/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/67f6376b-85a4-4ce1-945c-0cd16e0abb05/fashionMENTees_Tanksid0000675601_1front.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/ab874811-dd38-43d3-8dcd-458956002a38/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/67f6376b-85a4-4ce1-945c-0cd16e0abb05/fashionMENTees_Tanksid0000675601_1front.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-25T23:11:11.702907Z", "created_at": "2022-06-25T23:11:09.606607Z", "data_removed": false, "error": null, "id": "wurfpgyurzhbzjpnqfyttuucnu", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/ab874811-dd38-43d3-8dcd-458956002a38/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/67f6376b-85a4-4ce1-945c-0cd16e0abb05/fashionMENTees_Tanksid0000675601_1front.jpg" }, "logs": "Using seed 729973005......\nPerforming model inference.......", "metrics": { "predict_time": 1.957119, "total_time": 2.0963 }, "output": { "result": "https://replicate.delivery/mgxm/68d931cf-9d0a-4eda-896e-cf96e3af9cd4/result.png", "target_skeleton": "https://replicate.delivery/mgxm/204da3d9-93be-4818-b62c-79571adffdb5/skeleton.png" }, "started_at": "2022-06-25T23:11:09.745788Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/wurfpgyurzhbzjpnqfyttuucnu", "cancel": "https://api.replicate.com/v1/predictions/wurfpgyurzhbzjpnqfyttuucnu/cancel" }, "version": "f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec" }
Prediction
renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ecID5iz7wsaltzd2vowu35cxvocr4yStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- "729973005"
- desired_pose
- fashionWOMENBlouses_Shirtsid0000121702_1front.txt
{ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/6be92c88-c882-48de-ac93-153cc87e2ae3/fashionWOMENBlouses_Shirtsid0000121702_1front.txt", "reference_image": "https://replicate.delivery/mgxm/f7be1e5b-d1f8-4ab9-83c3-fa20ab7aa249/fashionWOMENDressesid0000628801_1front.jpg" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", { input: { seed: "729973005", desired_pose: "https://replicate.delivery/mgxm/6be92c88-c882-48de-ac93-153cc87e2ae3/fashionWOMENBlouses_Shirtsid0000121702_1front.txt", reference_image: "https://replicate.delivery/mgxm/f7be1e5b-d1f8-4ab9-83c3-fa20ab7aa249/fashionWOMENDressesid0000628801_1front.jpg" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", input={ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/6be92c88-c882-48de-ac93-153cc87e2ae3/fashionWOMENBlouses_Shirtsid0000121702_1front.txt", "reference_image": "https://replicate.delivery/mgxm/f7be1e5b-d1f8-4ab9-83c3-fa20ab7aa249/fashionWOMENDressesid0000628801_1front.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/6be92c88-c882-48de-ac93-153cc87e2ae3/fashionWOMENBlouses_Shirtsid0000121702_1front.txt", "reference_image": "https://replicate.delivery/mgxm/f7be1e5b-d1f8-4ab9-83c3-fa20ab7aa249/fashionWOMENDressesid0000628801_1front.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-25T23:11:27.700950Z", "created_at": "2022-06-25T23:11:25.571650Z", "data_removed": false, "error": null, "id": "5iz7wsaltzd2vowu35cxvocr4y", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/6be92c88-c882-48de-ac93-153cc87e2ae3/fashionWOMENBlouses_Shirtsid0000121702_1front.txt", "reference_image": "https://replicate.delivery/mgxm/f7be1e5b-d1f8-4ab9-83c3-fa20ab7aa249/fashionWOMENDressesid0000628801_1front.jpg" }, "logs": "Using seed 729973005......\nPerforming model inference.......", "metrics": { "predict_time": 1.988368, "total_time": 2.1293 }, "output": { "result": "https://replicate.delivery/mgxm/7fa068d4-65bc-4fbe-a070-5553a3a14ed0/result.png", "target_skeleton": "https://replicate.delivery/mgxm/9854cc14-c05a-4c92-b827-09ec28e65ec4/skeleton.png" }, "started_at": "2022-06-25T23:11:25.712582Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5iz7wsaltzd2vowu35cxvocr4y", "cancel": "https://api.replicate.com/v1/predictions/5iz7wsaltzd2vowu35cxvocr4y/cancel" }, "version": "f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec" }
Prediction
renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ecIDidrnabmeevdgrit44272w3bva4StatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- "729973005"
- desired_pose
- fashionMENSweatersid0000217901_4full.txt
{ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/fd0cb75f-114d-41b7-92c9-57091314e13f/fashionWOMENDressesid0000786704_1front.jpg" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", { input: { seed: "729973005", desired_pose: "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", reference_image: "https://replicate.delivery/mgxm/fd0cb75f-114d-41b7-92c9-57091314e13f/fashionWOMENDressesid0000786704_1front.jpg" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", input={ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/fd0cb75f-114d-41b7-92c9-57091314e13f/fashionWOMENDressesid0000786704_1front.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/fd0cb75f-114d-41b7-92c9-57091314e13f/fashionWOMENDressesid0000786704_1front.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-25T23:12:15.245582Z", "created_at": "2022-06-25T23:12:13.040878Z", "data_removed": false, "error": null, "id": "idrnabmeevdgrit44272w3bva4", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/fd0cb75f-114d-41b7-92c9-57091314e13f/fashionWOMENDressesid0000786704_1front.jpg" }, "logs": "Using seed 729973005......\nPerforming model inference.......", "metrics": { "predict_time": 2.044483, "total_time": 2.204704 }, "output": { "result": "https://replicate.delivery/mgxm/859b182f-e611-47f8-819c-70622137755a/result.png", "target_skeleton": "https://replicate.delivery/mgxm/5e341877-1da9-4536-af4d-55e59c1c3c95/skeleton.png" }, "started_at": "2022-06-25T23:12:13.201099Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/idrnabmeevdgrit44272w3bva4", "cancel": "https://api.replicate.com/v1/predictions/idrnabmeevdgrit44272w3bva4/cancel" }, "version": "f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec" }
Prediction
renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ecIDiahqndvjdrb4zfgx56qrmm2e3yStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- "729973005"
- desired_pose
- fashionMENSuitingid0000093201_2side.txt
{ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/57b4c08a-cf0b-42e9-80ff-d458af739847/fashionMENSuitingid0000093201_2side.txt", "reference_image": "https://replicate.delivery/mgxm/25a3850f-8134-4df2-adb5-57b7ea080a58/fashionWOMENDressesid0000786704_1front.jpg" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", { input: { seed: "729973005", desired_pose: "https://replicate.delivery/mgxm/57b4c08a-cf0b-42e9-80ff-d458af739847/fashionMENSuitingid0000093201_2side.txt", reference_image: "https://replicate.delivery/mgxm/25a3850f-8134-4df2-adb5-57b7ea080a58/fashionWOMENDressesid0000786704_1front.jpg" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", input={ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/57b4c08a-cf0b-42e9-80ff-d458af739847/fashionMENSuitingid0000093201_2side.txt", "reference_image": "https://replicate.delivery/mgxm/25a3850f-8134-4df2-adb5-57b7ea080a58/fashionWOMENDressesid0000786704_1front.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/57b4c08a-cf0b-42e9-80ff-d458af739847/fashionMENSuitingid0000093201_2side.txt", "reference_image": "https://replicate.delivery/mgxm/25a3850f-8134-4df2-adb5-57b7ea080a58/fashionWOMENDressesid0000786704_1front.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-25T23:12:31.110034Z", "created_at": "2022-06-25T23:12:28.992395Z", "data_removed": false, "error": null, "id": "iahqndvjdrb4zfgx56qrmm2e3y", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/57b4c08a-cf0b-42e9-80ff-d458af739847/fashionMENSuitingid0000093201_2side.txt", "reference_image": "https://replicate.delivery/mgxm/25a3850f-8134-4df2-adb5-57b7ea080a58/fashionWOMENDressesid0000786704_1front.jpg" }, "logs": "Using seed 729973005......\nPerforming model inference.......", "metrics": { "predict_time": 1.970812, "total_time": 2.117639 }, "output": { "result": "https://replicate.delivery/mgxm/fec0f851-ac66-4a73-8ed4-7962d1055216/result.png", "target_skeleton": "https://replicate.delivery/mgxm/c477b91c-e21d-4abd-9609-40077759855f/skeleton.png" }, "started_at": "2022-06-25T23:12:29.139222Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/iahqndvjdrb4zfgx56qrmm2e3y", "cancel": "https://api.replicate.com/v1/predictions/iahqndvjdrb4zfgx56qrmm2e3y/cancel" }, "version": "f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec" }
Prediction
renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ecIDem5x46mkpvfd3av5avuwvnfzlyStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- "729973005"
- desired_pose
- fashionMENSuitingid0000093201_2side.txt
{ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/186e82b6-a252-4d17-8780-d297631a8361/fashionMENSuitingid0000093201_2side.txt", "reference_image": "https://replicate.delivery/mgxm/9dda8acf-5123-4539-9b91-005fbc537c61/hill.jpg" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", { input: { seed: "729973005", desired_pose: "https://replicate.delivery/mgxm/186e82b6-a252-4d17-8780-d297631a8361/fashionMENSuitingid0000093201_2side.txt", reference_image: "https://replicate.delivery/mgxm/9dda8acf-5123-4539-9b91-005fbc537c61/hill.jpg" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", input={ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/186e82b6-a252-4d17-8780-d297631a8361/fashionMENSuitingid0000093201_2side.txt", "reference_image": "https://replicate.delivery/mgxm/9dda8acf-5123-4539-9b91-005fbc537c61/hill.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/186e82b6-a252-4d17-8780-d297631a8361/fashionMENSuitingid0000093201_2side.txt", "reference_image": "https://replicate.delivery/mgxm/9dda8acf-5123-4539-9b91-005fbc537c61/hill.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-25T23:14:12.995502Z", "created_at": "2022-06-25T23:14:10.808440Z", "data_removed": false, "error": null, "id": "em5x46mkpvfd3av5avuwvnfzly", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/186e82b6-a252-4d17-8780-d297631a8361/fashionMENSuitingid0000093201_2side.txt", "reference_image": "https://replicate.delivery/mgxm/9dda8acf-5123-4539-9b91-005fbc537c61/hill.jpg" }, "logs": "Using seed 729973005......\nPerforming model inference.......", "metrics": { "predict_time": 2.031202, "total_time": 2.187062 }, "output": { "result": "https://replicate.delivery/mgxm/d2e87aa2-d610-4dc2-9fa8-b2e70836c23d/result.png", "target_skeleton": "https://replicate.delivery/mgxm/9354a19c-e2ce-4e5c-a481-a45198f59cc0/skeleton.png" }, "started_at": "2022-06-25T23:14:10.964300Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/em5x46mkpvfd3av5avuwvnfzly", "cancel": "https://api.replicate.com/v1/predictions/em5x46mkpvfd3av5avuwvnfzly/cancel" }, "version": "f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec" }
Prediction
renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ecIDzr6wpw3fbremxc7iku5iqqg3mmStatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- "729973005"
- desired_pose
- fashionMENSweatersid0000217901_4full.txt
{ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/b1075065-b4b0-42df-aa03-62511076635c/smg.jpeg" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", { input: { seed: "729973005", desired_pose: "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", reference_image: "https://replicate.delivery/mgxm/b1075065-b4b0-42df-aa03-62511076635c/smg.jpeg" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", input={ "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/b1075065-b4b0-42df-aa03-62511076635c/smg.jpeg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run renyurui/controllable-person-synthesis using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "renyurui/controllable-person-synthesis:f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/b1075065-b4b0-42df-aa03-62511076635c/smg.jpeg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-25T23:19:23.639334Z", "created_at": "2022-06-25T23:19:20.803396Z", "data_removed": false, "error": null, "id": "zr6wpw3fbremxc7iku5iqqg3mm", "input": { "seed": "729973005", "desired_pose": "https://replicate.delivery/mgxm/f08b860f-48d6-49d4-8fbc-207a87809236/fashionMENSweatersid0000217901_4full.txt", "reference_image": "https://replicate.delivery/mgxm/b1075065-b4b0-42df-aa03-62511076635c/smg.jpeg" }, "logs": "Using seed 729973005......\nPerforming model inference.......", "metrics": { "predict_time": 2.70298, "total_time": 2.835938 }, "output": { "result": "https://replicate.delivery/mgxm/59090705-5ff6-4e65-952e-2edab1da6283/result.png", "target_skeleton": "https://replicate.delivery/mgxm/68900769-bde7-48dc-a09b-487208c313fc/skeleton.png" }, "started_at": "2022-06-25T23:19:20.936354Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/zr6wpw3fbremxc7iku5iqqg3mm", "cancel": "https://api.replicate.com/v1/predictions/zr6wpw3fbremxc7iku5iqqg3mm/cancel" }, "version": "f2a5c4525dcd2868f7db9013e0ad82f82992ab5ce7418d6cc414e0ceca5861ec" }
Want to make some of these yourself?
Run this model