import Together from "together-ai";
const together = new Together();
async function main() {
const response = await together.images.create({
model: "black-forest-labs/FLUX.1-depth",
width: 1024,
height: 1024,
steps: 28,
prompt: "give me a superhero",
// @ts-ignore
image_url: "https://github.com/nutlope.png",
});
// @ts-ignore
console.log(response.data[0].url);
}
main();