carlpuvosx
/
twittex
- Public
- 20 runs
-
H100
Prediction
carlpuvosx/twittex:1cb56f79ID4p26tbarpnrm40cht9ea4qsr5wStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross."Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T15:59:29.441080Z", "created_at": "2024-09-08T15:59:13.077000Z", "data_removed": false, "error": null, "id": "4p26tbarpnrm40cht9ea4qsr5w", "input": { "model": "dev", "prompt": "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 36408\nPrompt: TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nfree=8164598398976\nDownloading weights\n2024-09-08T15:59:13Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpttww6z3h/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\n2024-09-08T15:59:14Z | INFO | [ Complete ] dest=/tmp/tmpttww6z3h/weights size=\"172 MB\" total_elapsed=1.438s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\nDownloaded weights in 1.47s\nLoaded LoRAs in 8.57s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.85it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.35it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.11it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.00it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.95it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.92it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.90it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.88it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.88it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.87it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.87it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.86it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.86it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.86it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.86it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.86it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.86it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.86it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.86it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.86it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.85it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.85it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.85it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.85it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.85it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.85it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.88it/s]", "metrics": { "predict_time": 16.35376763, "total_time": 16.36408 }, "output": [ "https://replicate.delivery/yhqm/cOpzAZiAZUrqNxcSiSb7P9xHRiuupJI39pny7t5Qfaqw3btJA/out-0.webp" ], "started_at": "2024-09-08T15:59:13.087312Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4p26tbarpnrm40cht9ea4qsr5w", "cancel": "https://api.replicate.com/v1/predictions/4p26tbarpnrm40cht9ea4qsr5w/cancel" }, "version": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e" }
Generated inUsing seed: 36408 Prompt: TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross."Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model free=8164598398976 Downloading weights 2024-09-08T15:59:13Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpttww6z3h/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar 2024-09-08T15:59:14Z | INFO | [ Complete ] dest=/tmp/tmpttww6z3h/weights size="172 MB" total_elapsed=1.438s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar Downloaded weights in 1.47s Loaded LoRAs in 8.57s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.85it/s] 7%|▋ | 2/28 [00:00<00:05, 4.35it/s] 11%|█ | 3/28 [00:00<00:06, 4.11it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.00it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.95it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.92it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.90it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.88it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.88it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.87it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.87it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.86it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.86it/s] 50%|█████ | 14/28 [00:03<00:03, 3.86it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.86it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.86it/s] 61%|██████ | 17/28 [00:04<00:02, 3.86it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.86it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.86it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.86it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.85it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.85it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.85it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.85it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.85it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.85it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.85it/s] 100%|██████████| 28/28 [00:07<00:00, 3.85it/s] 100%|██████████| 28/28 [00:07<00:00, 3.88it/s]
Prediction
carlpuvosx/twittex:1cb56f79ID51ynmjs6c9rm40chszeatxyfn0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:20:17.030753Z", "created_at": "2024-09-08T04:19:57.154000Z", "data_removed": false, "error": null, "id": "51ynmjs6c9rm40chszeatxyfn0", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 28520\nPrompt: TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nfree=9090698907648\nDownloading weights\n2024-09-08T04:19:59Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpijji2dwv/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:20:00Z | INFO | [ Complete ] dest=/tmp/tmpijji2dwv/weights size=\"172 MB\" total_elapsed=1.559s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 1.65s\nLoaded LoRAs in 10.21s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.84it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.33it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.10it/s]\n 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.94it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.91it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.89it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.87it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.86it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.85it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.85it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.85it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.85it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.85it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.85it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.85it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.85it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.85it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.85it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.85it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.85it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.85it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.87it/s]", "metrics": { "predict_time": 18.024064338, "total_time": 19.876753 }, "output": [ "https://replicate.delivery/yhqm/lqDWvOWR5W7tAhFGY6XvDcfvYhTI4eTlTh7uoyb2oZ9AgtaTA/out-0.webp" ], "started_at": "2024-09-08T04:19:59.006688Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/51ynmjs6c9rm40chszeatxyfn0", "cancel": "https://api.replicate.com/v1/predictions/51ynmjs6c9rm40chszeatxyfn0/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 28520 Prompt: TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model free=9090698907648 Downloading weights 2024-09-08T04:19:59Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpijji2dwv/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:20:00Z | INFO | [ Complete ] dest=/tmp/tmpijji2dwv/weights size="172 MB" total_elapsed=1.559s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 1.65s Loaded LoRAs in 10.21s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.84it/s] 7%|▋ | 2/28 [00:00<00:06, 4.33it/s] 11%|█ | 3/28 [00:00<00:06, 4.10it/s] 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.94it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.91it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.89it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.87it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.86it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.85it/s] 50%|█████ | 14/28 [00:03<00:03, 3.85it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.85it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.85it/s] 61%|██████ | 17/28 [00:04<00:02, 3.85it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.85it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.85it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.85it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.85it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.85it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.85it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.85it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.85it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.87it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDzas7effcq1rm20cht9e8dzcxqgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross."Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T16:00:11.377659Z", "created_at": "2024-09-08T15:59:50.968000Z", "data_removed": false, "error": null, "id": "zas7effcq1rm20cht9e8dzcxqg", "input": { "model": "dev", "prompt": "TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 42066\nPrompt: TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross.\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nfree=9181674856448\nDownloading weights\n2024-09-08T15:59:51Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpbcn5_wbb/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\n2024-09-08T15:59:54Z | INFO | [ Complete ] dest=/tmp/tmpbcn5_wbb/weights size=\"172 MB\" total_elapsed=3.857s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\nDownloaded weights in 3.89s\nLoaded LoRAs in 12.60s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.83it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.33it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.09it/s]\n 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.93it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.90it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.85it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.85it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.85it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.85it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.85it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.87it/s]", "metrics": { "predict_time": 20.401406443, "total_time": 20.409659 }, "output": [ "https://replicate.delivery/yhqm/rhtcxQpmMTZ2PV1MRkAS5aK4DLQeEWGdU2I3ebkBTuALw3aTA/out-0.webp" ], "started_at": "2024-09-08T15:59:50.976252Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/zas7effcq1rm20cht9e8dzcxqg", "cancel": "https://api.replicate.com/v1/predictions/zas7effcq1rm20cht9e8dzcxqg/cancel" }, "version": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e" }
Generated inUsing seed: 42066 Prompt: TOKx-twitterxxx TOKichatwittex A blue bird in flight. The bird is in the center of the image, with its wings open and its body facing to the right side, creating an X shape. It has a white head and neck and the wings are a bright blue color. The background is white and there are several small white crosses scattered around the bird, creating a grid-like pattern. The overall design is simple and minimalistic, with a focus on the bird and the cross."Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model free=9181674856448 Downloading weights 2024-09-08T15:59:51Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpbcn5_wbb/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar 2024-09-08T15:59:54Z | INFO | [ Complete ] dest=/tmp/tmpbcn5_wbb/weights size="172 MB" total_elapsed=3.857s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar Downloaded weights in 3.89s Loaded LoRAs in 12.60s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.83it/s] 7%|▋ | 2/28 [00:00<00:06, 4.33it/s] 11%|█ | 3/28 [00:00<00:06, 4.09it/s] 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.93it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.90it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.85it/s] 50%|█████ | 14/28 [00:03<00:03, 3.85it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.85it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.85it/s] 61%|██████ | 17/28 [00:04<00:02, 3.85it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.87it/s]
Prediction
carlpuvosx/twittex:1cb56f79ID7tg4b8eag1rm60chsze8tv8mh0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:20:59.053382Z", "created_at": "2024-09-08T04:20:39.168000Z", "data_removed": false, "error": null, "id": "7tg4b8eag1rm60chsze8tv8mh0", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 12541\nPrompt: TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nfree=8665414787072\nDownloading weights\n2024-09-08T04:20:39Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmphca4o9ts/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:20:42Z | INFO | [ Complete ] dest=/tmp/tmphca4o9ts/weights size=\"172 MB\" total_elapsed=3.431s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 3.46s\nLoaded LoRAs in 12.07s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:06, 3.86it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.35it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.11it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.01it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.96it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.93it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.91it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.90it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.89it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.88it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.88it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.88it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.88it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.87it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.87it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.87it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.87it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.87it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.87it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.87it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.87it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.87it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.87it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.87it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.87it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.87it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.87it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.87it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.90it/s]", "metrics": { "predict_time": 19.876417994, "total_time": 19.885382 }, "output": [ "https://replicate.delivery/yhqm/ZUcTpUMCDtZzNlhUMfbjtfuBdWPwywiXh9MfEaTTMQvVBb1mA/out-0.webp" ], "started_at": "2024-09-08T04:20:39.176964Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7tg4b8eag1rm60chsze8tv8mh0", "cancel": "https://api.replicate.com/v1/predictions/7tg4b8eag1rm60chsze8tv8mh0/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 12541 Prompt: TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model free=8665414787072 Downloading weights 2024-09-08T04:20:39Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmphca4o9ts/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:20:42Z | INFO | [ Complete ] dest=/tmp/tmphca4o9ts/weights size="172 MB" total_elapsed=3.431s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 3.46s Loaded LoRAs in 12.07s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:06, 3.86it/s] 7%|▋ | 2/28 [00:00<00:05, 4.35it/s] 11%|█ | 3/28 [00:00<00:06, 4.11it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.01it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.96it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.93it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.91it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.90it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.89it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.88it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.88it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.88it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.88it/s] 50%|█████ | 14/28 [00:03<00:03, 3.87it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.87it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.87it/s] 61%|██████ | 17/28 [00:04<00:02, 3.87it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.87it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.87it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.87it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.87it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.87it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.87it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.87it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.87it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.87it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.87it/s] 100%|██████████| 28/28 [00:07<00:00, 3.87it/s] 100%|██████████| 28/28 [00:07<00:00, 3.90it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDj3k8ah4w9drm20chszet5g9q2mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:22:01.790749Z", "created_at": "2024-09-08T04:21:32.875000Z", "data_removed": false, "error": null, "id": "j3k8ah4w9drm20chszet5g9q2m", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 50709\nPrompt: TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nfree=9140914814976\nDownloading weights\n2024-09-08T04:21:40Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp4f1q0mqu/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:21:44Z | INFO | [ Complete ] dest=/tmp/tmp4f1q0mqu/weights size=\"172 MB\" total_elapsed=3.993s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 4.02s\nLoaded LoRAs in 13.31s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:06, 3.87it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.37it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.13it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.02it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.96it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.93it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.91it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.90it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.89it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.89it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.88it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.88it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.88it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.88it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.88it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.87it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.87it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.87it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.87it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.87it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.87it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.87it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.87it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.87it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.87it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.87it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.87it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.87it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.90it/s]", "metrics": { "predict_time": 21.047807667, "total_time": 28.915749 }, "output": [ "https://replicate.delivery/yhqm/MVnfY2y09SyIYSp4BtaaGwexW1pP496wdq5sDkhwdUCphtaTA/out-0.webp" ], "started_at": "2024-09-08T04:21:40.742941Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/j3k8ah4w9drm20chszet5g9q2m", "cancel": "https://api.replicate.com/v1/predictions/j3k8ah4w9drm20chszet5g9q2m/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 50709 Prompt: TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model free=9140914814976 Downloading weights 2024-09-08T04:21:40Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp4f1q0mqu/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:21:44Z | INFO | [ Complete ] dest=/tmp/tmp4f1q0mqu/weights size="172 MB" total_elapsed=3.993s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 4.02s Loaded LoRAs in 13.31s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:06, 3.87it/s] 7%|▋ | 2/28 [00:00<00:05, 4.37it/s] 11%|█ | 3/28 [00:00<00:06, 4.13it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.02it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.96it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.93it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.91it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.90it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.89it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.89it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.88it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.88it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.88it/s] 50%|█████ | 14/28 [00:03<00:03, 3.88it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.88it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.87it/s] 61%|██████ | 17/28 [00:04<00:02, 3.87it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.87it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.87it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.87it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.87it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.87it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.87it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.87it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.87it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.87it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.87it/s] 100%|██████████| 28/28 [00:07<00:00, 3.87it/s] 100%|██████████| 28/28 [00:07<00:00, 3.90it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDdrw2gwn4fdrm60cht9ftzrz6bwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKichatwittex
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKichatwittex ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKichatwittex ", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKichatwittex ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKichatwittex ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T16:03:23.232901Z", "created_at": "2024-09-08T16:02:49.083000Z", "data_removed": false, "error": null, "id": "drw2gwn4fdrm60cht9ftzrz6bw", "input": { "model": "dev", "prompt": "TOKichatwittex ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 925\nPrompt: TOKichatwittex\n[!] txt2img mode\nUsing dev model\nfree=8068020023296\nDownloading weights\n2024-09-08T16:03:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpxm8vb5e2/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\n2024-09-08T16:03:06Z | INFO | [ Complete ] dest=/tmp/tmpxm8vb5e2/weights size=\"172 MB\" total_elapsed=2.546s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\nDownloaded weights in 2.58s\nLoaded LoRAs in 11.11s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.84it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.33it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.09it/s]\n 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.93it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.90it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.84it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.84it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.84it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.84it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.87it/s]", "metrics": { "predict_time": 18.916771506, "total_time": 34.149901 }, "output": [ "https://replicate.delivery/yhqm/7fX5g1JUx81ekEGfuAHFNEjgnnDRAGpfFMQt81xyfHNey8t2E/out-0.webp" ], "started_at": "2024-09-08T16:03:04.316130Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/drw2gwn4fdrm60cht9ftzrz6bw", "cancel": "https://api.replicate.com/v1/predictions/drw2gwn4fdrm60cht9ftzrz6bw/cancel" }, "version": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e" }
Generated inUsing seed: 925 Prompt: TOKichatwittex [!] txt2img mode Using dev model free=8068020023296 Downloading weights 2024-09-08T16:03:04Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpxm8vb5e2/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar 2024-09-08T16:03:06Z | INFO | [ Complete ] dest=/tmp/tmpxm8vb5e2/weights size="172 MB" total_elapsed=2.546s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar Downloaded weights in 2.58s Loaded LoRAs in 11.11s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.84it/s] 7%|▋ | 2/28 [00:00<00:06, 4.33it/s] 11%|█ | 3/28 [00:00<00:06, 4.09it/s] 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.93it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.90it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.84it/s] 50%|█████ | 14/28 [00:03<00:03, 3.84it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.84it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s] 61%|██████ | 17/28 [00:04<00:02, 3.84it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.87it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDx6cstvjjk1rm20chszf92j4rjrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx ", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:22:55.600264Z", "created_at": "2024-09-08T04:22:19.544000Z", "data_removed": false, "error": null, "id": "x6cstvjjk1rm20chszf92j4rjr", "input": { "model": "dev", "prompt": "TOKx-twitterxxx ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 43018\nPrompt: TOKx-twitterxxx\n[!] txt2img mode\nUsing dev model\nfree=8153532227584\nDownloading weights\n2024-09-08T04:22:25Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmppbicoea7/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:22:28Z | INFO | [ Complete ] dest=/tmp/tmppbicoea7/weights size=\"172 MB\" total_elapsed=3.225s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 3.25s\nLoaded LoRAs in 21.34s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:30, 1.13s/it]\n 7%|▋ | 2/28 [00:01<00:15, 1.70it/s]\n 11%|█ | 3/28 [00:01<00:10, 2.28it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.72it/s]\n 18%|█▊ | 5/28 [00:02<00:07, 3.04it/s]\n 21%|██▏ | 6/28 [00:02<00:06, 3.28it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.45it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.57it/s]\n 32%|███▏ | 9/28 [00:03<00:05, 3.66it/s]\n 36%|███▌ | 10/28 [00:03<00:04, 3.72it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.76it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.79it/s]\n 46%|████▋ | 13/28 [00:04<00:03, 3.82it/s]\n 50%|█████ | 14/28 [00:04<00:03, 3.83it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.84it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.85it/s]\n 61%|██████ | 17/28 [00:05<00:02, 3.86it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.86it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.86it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.86it/s]\n 75%|███████▌ | 21/28 [00:06<00:01, 3.86it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.86it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.87it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.87it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.87it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.86it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.86it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.86it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.47it/s]", "metrics": { "predict_time": 29.931987476, "total_time": 36.056264 }, "output": [ "https://replicate.delivery/yhqm/iDbIO24pKv5XKhwympIUpxZBYy0uhLHVClelxA4Bd1qPxWtJA/out-0.webp" ], "started_at": "2024-09-08T04:22:25.668276Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/x6cstvjjk1rm20chszf92j4rjr", "cancel": "https://api.replicate.com/v1/predictions/x6cstvjjk1rm20chszf92j4rjr/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 43018 Prompt: TOKx-twitterxxx [!] txt2img mode Using dev model free=8153532227584 Downloading weights 2024-09-08T04:22:25Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmppbicoea7/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:22:28Z | INFO | [ Complete ] dest=/tmp/tmppbicoea7/weights size="172 MB" total_elapsed=3.225s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 3.25s Loaded LoRAs in 21.34s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:30, 1.13s/it] 7%|▋ | 2/28 [00:01<00:15, 1.70it/s] 11%|█ | 3/28 [00:01<00:10, 2.28it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.72it/s] 18%|█▊ | 5/28 [00:02<00:07, 3.04it/s] 21%|██▏ | 6/28 [00:02<00:06, 3.28it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.45it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.57it/s] 32%|███▏ | 9/28 [00:03<00:05, 3.66it/s] 36%|███▌ | 10/28 [00:03<00:04, 3.72it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.76it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.79it/s] 46%|████▋ | 13/28 [00:04<00:03, 3.82it/s] 50%|█████ | 14/28 [00:04<00:03, 3.83it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.84it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.85it/s] 61%|██████ | 17/28 [00:05<00:02, 3.86it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.86it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.86it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.86it/s] 75%|███████▌ | 21/28 [00:06<00:01, 3.86it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.86it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.87it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.87it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.87it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.86it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.86it/s] 100%|██████████| 28/28 [00:08<00:00, 3.86it/s] 100%|██████████| 28/28 [00:08<00:00, 3.47it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDc0aapqw9m1rm60chszha8br4tcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:27:23.382616Z", "created_at": "2024-09-08T04:26:55.776000Z", "data_removed": false, "error": null, "id": "c0aapqw9m1rm60chszha8br4tc", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 43236\nPrompt: TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nfree=8391914442752\nDownloading weights\n2024-09-08T04:26:57Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpr11n7dvz/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:27:03Z | INFO | [ Complete ] dest=/tmp/tmpr11n7dvz/weights size=\"172 MB\" total_elapsed=5.265s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 5.30s\nLoaded LoRAs in 17.59s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.82it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.32it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.08it/s]\n 14%|█▍ | 4/28 [00:00<00:06, 3.98it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.92it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.89it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.87it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.86it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.85it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.84it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.83it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.83it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.83it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.83it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.83it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.83it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.82it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.83it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.82it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.82it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.82it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.83it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.83it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.83it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.83it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.83it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.83it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.83it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.85it/s]", "metrics": { "predict_time": 25.440340114, "total_time": 27.606616 }, "output": [ "https://replicate.delivery/yhqm/erS2fru8DSkLp0wtANdTzMsqp4w0pKuDCD4lQ7apyMBrmtaTA/out-0.webp" ], "started_at": "2024-09-08T04:26:57.942276Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/c0aapqw9m1rm60chszha8br4tc", "cancel": "https://api.replicate.com/v1/predictions/c0aapqw9m1rm60chszha8br4tc/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 43236 Prompt: TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model free=8391914442752 Downloading weights 2024-09-08T04:26:57Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpr11n7dvz/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:27:03Z | INFO | [ Complete ] dest=/tmp/tmpr11n7dvz/weights size="172 MB" total_elapsed=5.265s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 5.30s Loaded LoRAs in 17.59s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.82it/s] 7%|▋ | 2/28 [00:00<00:06, 4.32it/s] 11%|█ | 3/28 [00:00<00:06, 4.08it/s] 14%|█▍ | 4/28 [00:00<00:06, 3.98it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.92it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.89it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.87it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.86it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.85it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.84it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.83it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.83it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.83it/s] 50%|█████ | 14/28 [00:03<00:03, 3.83it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.83it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.83it/s] 61%|██████ | 17/28 [00:04<00:02, 3.82it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.83it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.82it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.82it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.82it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.83it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.83it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.83it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.83it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.83it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.83it/s] 100%|██████████| 28/28 [00:07<00:00, 3.83it/s] 100%|██████████| 28/28 [00:07<00:00, 3.85it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDj9c1yr4ky5rm40chszhv3mrchmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:28:23.464744Z", "created_at": "2024-09-08T04:28:03.953000Z", "data_removed": false, "error": null, "id": "j9c1yr4ky5rm40chszhv3mrchm", "input": { "model": "dev", "prompt": "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 21047\nPrompt: TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 11.75s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.85it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.36it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.12it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.01it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.96it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.93it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.91it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.89it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.89it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.88it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.88it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.87it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.87it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.87it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.87it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.87it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.87it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.87it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.87it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.87it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.87it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.87it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.87it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.86it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.86it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.86it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.86it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.86it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.89it/s]", "metrics": { "predict_time": 19.500972299, "total_time": 19.511744 }, "output": [ "https://replicate.delivery/yhqm/DSGNrbNeUa2Nd6hqNZxnQC4RTW1eTFHn2bRtYrZVgFvnntaTA/out-0.webp" ], "started_at": "2024-09-08T04:28:03.963771Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/j9c1yr4ky5rm40chszhv3mrchm", "cancel": "https://api.replicate.com/v1/predictions/j9c1yr4ky5rm40chszhv3mrchm/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 21047 Prompt: TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model Loaded LoRAs in 11.75s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.85it/s] 7%|▋ | 2/28 [00:00<00:05, 4.36it/s] 11%|█ | 3/28 [00:00<00:06, 4.12it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.01it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.96it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.93it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.91it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.89it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.89it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.88it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.88it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.87it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.87it/s] 50%|█████ | 14/28 [00:03<00:03, 3.87it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.87it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.87it/s] 61%|██████ | 17/28 [00:04<00:02, 3.87it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.87it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.87it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.87it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.87it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.87it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.87it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.86it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.86it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.86it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.86it/s] 100%|██████████| 28/28 [00:07<00:00, 3.86it/s] 100%|██████████| 28/28 [00:07<00:00, 3.89it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDdfvnkvy2dsrm40chszjs5vnvnwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above ", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:30:55.157070Z", "created_at": "2024-09-08T04:30:26.926000Z", "data_removed": false, "error": null, "id": "dfvnkvy2dsrm40chszjs5vnvnw", "input": { "model": "dev", "prompt": "TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 28482\nPrompt: TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above\n[!] txt2img mode\nUsing dev model\nfree=8150699778048\nDownloading weights\n2024-09-08T04:30:26Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpwymiam51/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:30:30Z | INFO | [ Complete ] dest=/tmp/tmpwymiam51/weights size=\"172 MB\" total_elapsed=3.050s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 3.15s\nLoaded LoRAs in 19.26s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:31, 1.15s/it]\n 7%|▋ | 2/28 [00:01<00:15, 1.67it/s]\n 11%|█ | 3/28 [00:01<00:11, 2.25it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.69it/s]\n 18%|█▊ | 5/28 [00:02<00:07, 3.02it/s]\n 21%|██▏ | 6/28 [00:02<00:06, 3.25it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.43it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.55it/s]\n 32%|███▏ | 9/28 [00:03<00:05, 3.64it/s]\n 36%|███▌ | 10/28 [00:03<00:04, 3.70it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.74it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.77it/s]\n 46%|████▋ | 13/28 [00:04<00:03, 3.79it/s]\n 50%|█████ | 14/28 [00:04<00:03, 3.81it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.82it/s]\n 57%|█████▋ | 16/28 [00:05<00:03, 3.82it/s]\n 61%|██████ | 17/28 [00:05<00:02, 3.83it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.83it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.83it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.84it/s]\n 75%|███████▌ | 21/28 [00:06<00:01, 3.84it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.84it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.84it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.84it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.84it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.84it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.44it/s]", "metrics": { "predict_time": 28.221232272, "total_time": 28.23107 }, "output": [ "https://replicate.delivery/yhqm/sHlHr4mY73YxK9AqQDYHO30bbmLxI5xDsYIptqRf4QmfptaTA/out-0.webp" ], "started_at": "2024-09-08T04:30:26.935838Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/dfvnkvy2dsrm40chszjs5vnvnw", "cancel": "https://api.replicate.com/v1/predictions/dfvnkvy2dsrm40chszjs5vnvnw/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 28482 Prompt: TOKx-twitterxxx massive glowing X (the X-Twitter logo) floats above [!] txt2img mode Using dev model free=8150699778048 Downloading weights 2024-09-08T04:30:26Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpwymiam51/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:30:30Z | INFO | [ Complete ] dest=/tmp/tmpwymiam51/weights size="172 MB" total_elapsed=3.050s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 3.15s Loaded LoRAs in 19.26s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:31, 1.15s/it] 7%|▋ | 2/28 [00:01<00:15, 1.67it/s] 11%|█ | 3/28 [00:01<00:11, 2.25it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.69it/s] 18%|█▊ | 5/28 [00:02<00:07, 3.02it/s] 21%|██▏ | 6/28 [00:02<00:06, 3.25it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.43it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.55it/s] 32%|███▏ | 9/28 [00:03<00:05, 3.64it/s] 36%|███▌ | 10/28 [00:03<00:04, 3.70it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.74it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.77it/s] 46%|████▋ | 13/28 [00:04<00:03, 3.79it/s] 50%|█████ | 14/28 [00:04<00:03, 3.81it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.82it/s] 57%|█████▋ | 16/28 [00:05<00:03, 3.82it/s] 61%|██████ | 17/28 [00:05<00:02, 3.83it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.83it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.83it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.84it/s] 75%|███████▌ | 21/28 [00:06<00:01, 3.84it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.84it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.84it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.84it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.84it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.84it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.84it/s] 100%|██████████| 28/28 [00:08<00:00, 3.84it/s] 100%|██████████| 28/28 [00:08<00:00, 3.44it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDn4p35rpkq9rm40chszk9wfyj5mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx x-twitter (1) glowing X (the X-Twitter logo) floats above
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1) glowing X (the X-Twitter logo) floats above ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx x-twitter (1) glowing X (the X-Twitter logo) floats above ", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1) glowing X (the X-Twitter logo) floats above ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1) glowing X (the X-Twitter logo) floats above ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:31:58.155789Z", "created_at": "2024-09-08T04:31:36.890000Z", "data_removed": false, "error": null, "id": "n4p35rpkq9rm40chszk9wfyj5m", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1) glowing X (the X-Twitter logo) floats above ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 57189\nPrompt: TOKx-twitterxxx x-twitter (1) glowing X (the X-Twitter logo) floats above\n[!] txt2img mode\nUsing dev model\nfree=8802403917824\nDownloading weights\n2024-09-08T04:31:39Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzdhr2xmy/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:31:42Z | INFO | [ Complete ] dest=/tmp/tmpzdhr2xmy/weights size=\"172 MB\" total_elapsed=2.238s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 2.27s\nLoaded LoRAs in 10.55s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.84it/s]\n 7%|▋ | 2/28 [00:00<00:06, 4.33it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.09it/s]\n 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.93it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.90it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.85it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.84it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.84it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.84it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.84it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.87it/s]", "metrics": { "predict_time": 18.299176312, "total_time": 21.265789 }, "output": [ "https://replicate.delivery/yhqm/iQlWgBExWdrrNxu1YLlZ169zfCPfJxbzNVOkiGseMES8Vb1mA/out-0.webp" ], "started_at": "2024-09-08T04:31:39.856612Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/n4p35rpkq9rm40chszk9wfyj5m", "cancel": "https://api.replicate.com/v1/predictions/n4p35rpkq9rm40chszk9wfyj5m/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 57189 Prompt: TOKx-twitterxxx x-twitter (1) glowing X (the X-Twitter logo) floats above [!] txt2img mode Using dev model free=8802403917824 Downloading weights 2024-09-08T04:31:39Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpzdhr2xmy/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:31:42Z | INFO | [ Complete ] dest=/tmp/tmpzdhr2xmy/weights size="172 MB" total_elapsed=2.238s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 2.27s Loaded LoRAs in 10.55s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.84it/s] 7%|▋ | 2/28 [00:00<00:06, 4.33it/s] 11%|█ | 3/28 [00:00<00:06, 4.09it/s] 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.93it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.90it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.85it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.84it/s] 50%|█████ | 14/28 [00:03<00:03, 3.84it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.84it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s] 61%|██████ | 17/28 [00:04<00:02, 3.84it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.87it/s]
Prediction
carlpuvosx/twittex:1cb56f79ID3qyfdzkg29rm20chszksbncv70StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:32:35.402705Z", "created_at": "2024-09-08T04:32:16.914000Z", "data_removed": false, "error": null, "id": "3qyfdzkg29rm20chszksbncv70", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 45345\nPrompt: TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nfree=8625696362496\nDownloading weights\n2024-09-08T04:32:16Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpj0wxlc8q/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:32:18Z | INFO | [ Complete ] dest=/tmp/tmpj0wxlc8q/weights size=\"172 MB\" total_elapsed=1.382s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 1.41s\nLoaded LoRAs in 9.82s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:30, 1.12s/it]\n 7%|▋ | 2/28 [00:01<00:15, 1.70it/s]\n 11%|█ | 3/28 [00:01<00:10, 2.28it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.72it/s]\n 18%|█▊ | 5/28 [00:02<00:07, 3.03it/s]\n 21%|██▏ | 6/28 [00:02<00:06, 3.26it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.43it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.55it/s]\n 32%|███▏ | 9/28 [00:03<00:05, 3.64it/s]\n 36%|███▌ | 10/28 [00:03<00:04, 3.70it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.74it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.77it/s]\n 46%|████▋ | 13/28 [00:04<00:03, 3.79it/s]\n 50%|█████ | 14/28 [00:04<00:03, 3.81it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.82it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.83it/s]\n 61%|██████ | 17/28 [00:05<00:02, 3.83it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.84it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.84it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.84it/s]\n 75%|███████▌ | 21/28 [00:06<00:01, 3.85it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.85it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.85it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.84it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.84it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.85it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.46it/s]", "metrics": { "predict_time": 18.478847095, "total_time": 18.488705 }, "output": [ "https://replicate.delivery/yhqm/ZZ6QuopI4CKtOFXSnIK2aucrCLS1kUfeDycaZT9iPAzjrtaTA/out-0.webp" ], "started_at": "2024-09-08T04:32:16.923858Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3qyfdzkg29rm20chszksbncv70", "cancel": "https://api.replicate.com/v1/predictions/3qyfdzkg29rm20chszksbncv70/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 45345 Prompt: TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model free=8625696362496 Downloading weights 2024-09-08T04:32:16Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpj0wxlc8q/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:32:18Z | INFO | [ Complete ] dest=/tmp/tmpj0wxlc8q/weights size="172 MB" total_elapsed=1.382s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 1.41s Loaded LoRAs in 9.82s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:30, 1.12s/it] 7%|▋ | 2/28 [00:01<00:15, 1.70it/s] 11%|█ | 3/28 [00:01<00:10, 2.28it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.72it/s] 18%|█▊ | 5/28 [00:02<00:07, 3.03it/s] 21%|██▏ | 6/28 [00:02<00:06, 3.26it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.43it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.55it/s] 32%|███▏ | 9/28 [00:03<00:05, 3.64it/s] 36%|███▌ | 10/28 [00:03<00:04, 3.70it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.74it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.77it/s] 46%|████▋ | 13/28 [00:04<00:03, 3.79it/s] 50%|█████ | 14/28 [00:04<00:03, 3.81it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.82it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.83it/s] 61%|██████ | 17/28 [00:05<00:02, 3.83it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.84it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.84it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.84it/s] 75%|███████▌ | 21/28 [00:06<00:01, 3.85it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.85it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.85it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.84it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.84it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.85it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.85it/s] 100%|██████████| 28/28 [00:08<00:00, 3.85it/s] 100%|██████████| 28/28 [00:08<00:00, 3.46it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDb1evr0h82drm20chszma14015cStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:33:30.904835Z", "created_at": "2024-09-08T04:33:04.019000Z", "data_removed": false, "error": null, "id": "b1evr0h82drm20chszma14015c", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 42670\nPrompt: TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nfree=8228497076224\nDownloading weights\n2024-09-08T04:33:12Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpp4csy96t/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:33:13Z | INFO | [ Complete ] dest=/tmp/tmpp4csy96t/weights size=\"172 MB\" total_elapsed=1.521s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 1.55s\nLoaded LoRAs in 10.01s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:30, 1.14s/it]\n 7%|▋ | 2/28 [00:01<00:15, 1.68it/s]\n 11%|█ | 3/28 [00:01<00:11, 2.27it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.71it/s]\n 18%|█▊ | 5/28 [00:02<00:07, 3.03it/s]\n 21%|██▏ | 6/28 [00:02<00:06, 3.27it/s]\n 25%|██▌ | 7/28 [00:02<00:06, 3.44it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.56it/s]\n 32%|███▏ | 9/28 [00:03<00:05, 3.65it/s]\n 36%|███▌ | 10/28 [00:03<00:04, 3.71it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.75it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.78it/s]\n 46%|████▋ | 13/28 [00:04<00:03, 3.80it/s]\n 50%|█████ | 14/28 [00:04<00:03, 3.82it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.83it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s]\n 61%|██████ | 17/28 [00:05<00:02, 3.84it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.84it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.85it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 3.85it/s]\n 75%|███████▌ | 21/28 [00:06<00:01, 3.85it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.84it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.85it/s]\n 86%|████████▌ | 24/28 [00:07<00:01, 3.85it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.85it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.85it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.46it/s]", "metrics": { "predict_time": 18.682154385, "total_time": 26.885835 }, "output": [ "https://replicate.delivery/yhqm/kBR7aQX0zH46IVMo35M090neMTdOGDoodXz9fVWaNOdastaTA/out-0.webp" ], "started_at": "2024-09-08T04:33:12.222681Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/b1evr0h82drm20chszma14015c", "cancel": "https://api.replicate.com/v1/predictions/b1evr0h82drm20chszma14015c/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 42670 Prompt: TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model free=8228497076224 Downloading weights 2024-09-08T04:33:12Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpp4csy96t/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:33:13Z | INFO | [ Complete ] dest=/tmp/tmpp4csy96t/weights size="172 MB" total_elapsed=1.521s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 1.55s Loaded LoRAs in 10.01s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:30, 1.14s/it] 7%|▋ | 2/28 [00:01<00:15, 1.68it/s] 11%|█ | 3/28 [00:01<00:11, 2.27it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.71it/s] 18%|█▊ | 5/28 [00:02<00:07, 3.03it/s] 21%|██▏ | 6/28 [00:02<00:06, 3.27it/s] 25%|██▌ | 7/28 [00:02<00:06, 3.44it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.56it/s] 32%|███▏ | 9/28 [00:03<00:05, 3.65it/s] 36%|███▌ | 10/28 [00:03<00:04, 3.71it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.75it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.78it/s] 46%|████▋ | 13/28 [00:04<00:03, 3.80it/s] 50%|█████ | 14/28 [00:04<00:03, 3.82it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.83it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s] 61%|██████ | 17/28 [00:05<00:02, 3.84it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.84it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.85it/s] 71%|███████▏ | 20/28 [00:06<00:02, 3.85it/s] 75%|███████▌ | 21/28 [00:06<00:01, 3.85it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.84it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.85it/s] 86%|████████▌ | 24/28 [00:07<00:01, 3.85it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.85it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.85it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.85it/s] 100%|██████████| 28/28 [00:08<00:00, 3.85it/s] 100%|██████████| 28/28 [00:08<00:00, 3.46it/s]
Prediction
carlpuvosx/twittex:1cb56f79ID7zh5yvxmc5rm20chszn83fmm2rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."x-twitter (18)
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (18)", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (18)", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (18)", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"x-twitter (18)", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T04:36:40.845291Z", "created_at": "2024-09-08T04:35:51.009000Z", "data_removed": false, "error": null, "id": "7zh5yvxmc5rm20chszn83fmm2r", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (18)", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 34761\nPrompt: TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (18)\n[!] txt2img mode\nUsing dev model\nfree=9085027368960\nDownloading weights\n2024-09-08T04:36:11Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpmyj_4g0q/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T04:36:13Z | INFO | [ Complete ] dest=/tmp/tmpmyj_4g0q/weights size=\"172 MB\" total_elapsed=2.514s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 2.54s\nLoaded LoRAs in 21.92s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.85it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.33it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.09it/s]\n 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.94it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.90it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.85it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.84it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.84it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.84it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.84it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.87it/s]", "metrics": { "predict_time": 29.712770126, "total_time": 49.836291 }, "output": [ "https://replicate.delivery/yhqm/ODzudUwC00ogBBPKVI8M4VoEDGbEiZrz59VhF7E7x1I2br2E/out-0.webp" ], "started_at": "2024-09-08T04:36:11.132521Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7zh5yvxmc5rm20chszn83fmm2r", "cancel": "https://api.replicate.com/v1/predictions/7zh5yvxmc5rm20chszn83fmm2r/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 34761 Prompt: TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx "Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."x-twitter (18) [!] txt2img mode Using dev model free=9085027368960 Downloading weights 2024-09-08T04:36:11Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpmyj_4g0q/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T04:36:13Z | INFO | [ Complete ] dest=/tmp/tmpmyj_4g0q/weights size="172 MB" total_elapsed=2.514s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 2.54s Loaded LoRAs in 21.92s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.85it/s] 7%|▋ | 2/28 [00:00<00:05, 4.33it/s] 11%|█ | 3/28 [00:00<00:06, 4.09it/s] 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.94it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.90it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.85it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.84it/s] 50%|█████ | 14/28 [00:03<00:03, 3.84it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.84it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s] 61%|██████ | 17/28 [00:04<00:02, 3.84it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.87it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDmsvms52njhrm40chvnbser1xngStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKichatwittex The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights ("melted lights") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face ("My love's beyond the pain"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond ("We're dancing in the flames"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a "final odyssey." As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKichatwittex The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKichatwittex The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends.", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKichatwittex The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKichatwittex The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\\"melted lights\\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there\'s a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\\"My love\'s beyond the pain\\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\\"We\'re dancing in the flames\\"). The final scene is an intense visual of dodging headlights at night, with the couple\'s emotions growing as they journey through a \\"final odyssey.\\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-10T19:10:01.559125Z", "created_at": "2024-09-10T19:09:33.972000Z", "data_removed": false, "error": null, "id": "msvms52njhrm40chvnbser1xng", "input": { "model": "dev", "prompt": "TOKichatwittex The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 8932\nPrompt: TOKichatwittex The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends.\n[!] txt2img mode\nUsing dev model\nfree=6855652491264\nDownloading weights\n2024-09-10T19:09:44Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_0u54bz7/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\n2024-09-10T19:09:46Z | INFO | [ Complete ] dest=/tmp/tmp_0u54bz7/weights size=\"172 MB\" total_elapsed=1.751s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\nDownloaded weights in 1.78s\nLoaded LoRAs in 9.41s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.85it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.34it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.10it/s]\n 14%|█▍ | 4/28 [00:00<00:05, 4.00it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.95it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.92it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.90it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.88it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.87it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.87it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.87it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.86it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.86it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.86it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.86it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.86it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.86it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.86it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.86it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.85it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.85it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.85it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.85it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.85it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.85it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.85it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.88it/s]", "metrics": { "predict_time": 17.155302525, "total_time": 27.587125 }, "output": [ "https://replicate.delivery/yhqm/V3n5kOF8xiKNOxOJB2ffmEUTPSR3VPFHYMH5do99q9AJukbTA/out-0.webp" ], "started_at": "2024-09-10T19:09:44.403823Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/msvms52njhrm40chvnbser1xng", "cancel": "https://api.replicate.com/v1/predictions/msvms52njhrm40chvnbser1xng/cancel" }, "version": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e" }
Generated inUsing seed: 8932 Prompt: TOKichatwittex The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights ("melted lights") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face ("My love's beyond the pain"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond ("We're dancing in the flames"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a "final odyssey." As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. [!] txt2img mode Using dev model free=6855652491264 Downloading weights 2024-09-10T19:09:44Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_0u54bz7/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar 2024-09-10T19:09:46Z | INFO | [ Complete ] dest=/tmp/tmp_0u54bz7/weights size="172 MB" total_elapsed=1.751s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar Downloaded weights in 1.78s Loaded LoRAs in 9.41s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.85it/s] 7%|▋ | 2/28 [00:00<00:05, 4.34it/s] 11%|█ | 3/28 [00:00<00:06, 4.10it/s] 14%|█▍ | 4/28 [00:00<00:05, 4.00it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.95it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.92it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.90it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.88it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.87it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.87it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.87it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.86it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.86it/s] 50%|█████ | 14/28 [00:03<00:03, 3.86it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.86it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.86it/s] 61%|██████ | 17/28 [00:04<00:02, 3.86it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.86it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.86it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.85it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.85it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.85it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.85it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.85it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.85it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.85it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.85it/s] 100%|██████████| 28/28 [00:07<00:00, 3.85it/s] 100%|██████████| 28/28 [00:07<00:00, 3.88it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDjhsn1vrvyxrm20cht0k80s2x54StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx "C"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.""x-twitter (18)
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", lora_scale: 1, num_outputs: 4, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \\"C\\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"\\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T05:41:57.624685Z", "created_at": "2024-09-08T05:40:44.151000Z", "data_removed": false, "error": null, "id": "jhsn1vrvyxrm20cht0k80s2x54", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 47685\nPrompt: TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)\n[!] txt2img mode\nUsing dev model\nfree=9268158840832\nDownloading weights\n2024-09-08T05:41:11Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp3jac439h/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\n2024-09-08T05:41:15Z | INFO | [ Complete ] dest=/tmp/tmp3jac439h/weights size=\"172 MB\" total_elapsed=4.395s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar\nDownloaded weights in 4.43s\nLoaded LoRAs in 18.34s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:25, 1.06it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.19it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.12it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.10it/s]\n 18%|█▊ | 5/28 [00:04<00:21, 1.08it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.07it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.07it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.06it/s]\n 36%|███▌ | 10/28 [00:09<00:16, 1.06it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.06it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.06it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.06it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.06it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.06it/s]\n 57%|█████▋ | 16/28 [00:14<00:11, 1.06it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.06it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.06it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.06it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.06it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.06it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.05it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.05it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.05it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.05it/s]\n 93%|█████████▎| 26/28 [00:24<00:01, 1.05it/s]\n 96%|█████████▋| 27/28 [00:25<00:00, 1.06it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.06it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.06it/s]", "metrics": { "predict_time": 46.289524795, "total_time": 73.473685 }, "output": [ "https://replicate.delivery/yhqm/XrCQINVa0C7pHVg0dCXHIQm2NFeBkYdcsGdMJfiJldUlsuaTA/out-0.webp", "https://replicate.delivery/yhqm/TftKSCkcZZT3ICpjA2hxmBMlhluRxTgGqTwNfh7YxfhLZd1mA/out-1.webp", "https://replicate.delivery/yhqm/Fz9RX8aZlk4bJBRJN81f2pIiSS0iaWHOJYPE1ivaQ9rSWXtJA/out-2.webp", "https://replicate.delivery/yhqm/47o44AxG53bVJ1EecRIFH5sBvLwWwq4lPMu4ngQYqt4SWXtJA/out-3.webp" ], "started_at": "2024-09-08T05:41:11.335160Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/jhsn1vrvyxrm20cht0k80s2x54", "cancel": "https://api.replicate.com/v1/predictions/jhsn1vrvyxrm20cht0k80s2x54/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 47685 Prompt: TOKx-twitterxxx x-twitter (19)TOKx-twitterxxx "C"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.""x-twitter (18) [!] txt2img mode Using dev model free=9268158840832 Downloading weights 2024-09-08T05:41:11Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp3jac439h/weights url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar 2024-09-08T05:41:15Z | INFO | [ Complete ] dest=/tmp/tmp3jac439h/weights size="172 MB" total_elapsed=4.395s url=https://replicate.delivery/yhqm/OyeQbnmWmjQKIKibGyyh9jVc4wORoBjx8YVNNci4ePAcctaTA/trained_model.tar Downloaded weights in 4.43s Loaded LoRAs in 18.34s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:25, 1.06it/s] 7%|▋ | 2/28 [00:01<00:21, 1.19it/s] 11%|█ | 3/28 [00:02<00:22, 1.12it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.10it/s] 18%|█▊ | 5/28 [00:04<00:21, 1.08it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.07it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.07it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.06it/s] 36%|███▌ | 10/28 [00:09<00:16, 1.06it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.06it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.06it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.06it/s] 50%|█████ | 14/28 [00:13<00:13, 1.06it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.06it/s] 57%|█████▋ | 16/28 [00:14<00:11, 1.06it/s] 61%|██████ | 17/28 [00:15<00:10, 1.06it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.06it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.06it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.06it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.06it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.05it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.05it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.05it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.05it/s] 93%|█████████▎| 26/28 [00:24<00:01, 1.05it/s] 96%|█████████▋| 27/28 [00:25<00:00, 1.06it/s] 100%|██████████| 28/28 [00:26<00:00, 1.06it/s] 100%|██████████| 28/28 [00:26<00:00, 1.06it/s]
Prediction
carlpuvosx/twittex:1cb56f79ID6m5tn6kk15rm60cht0mavajj9mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx "C"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.""x-twitter (18)
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", lora_scale: 1, num_outputs: 4, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \\"C\\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"\\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T05:43:53.735963Z", "created_at": "2024-09-08T05:43:17.513000Z", "data_removed": false, "error": null, "id": "6m5tn6kk15rm60cht0mavajj9m", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 57037\nPrompt: TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 7.85s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:25, 1.06it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.19it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.12it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.10it/s]\n 18%|█▊ | 5/28 [00:04<00:21, 1.08it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.07it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.06it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.06it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.06it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.06it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.05it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.05it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.05it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.05it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.05it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.05it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.05it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.05it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.05it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.05it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.05it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.05it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.05it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.05it/s]\n 93%|█████████▎| 26/28 [00:24<00:01, 1.05it/s]\n 96%|█████████▋| 27/28 [00:25<00:00, 1.05it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.05it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.06it/s]", "metrics": { "predict_time": 35.938674662, "total_time": 36.222963 }, "output": [ "https://replicate.delivery/yhqm/Wn6Y65h8e00RYa2xah8smKQVSeceeJD2MllGZ7Z6VAgn56qNB/out-0.webp", "https://replicate.delivery/yhqm/k7WLcUHqU85tFFRKsZDolaTv3TQ1fecnAlYKpvUGFfKycd1mA/out-1.webp", "https://replicate.delivery/yhqm/SbKvhl3GbAJQH1ueol2323NzFtbSimrNe5ykfBsmXWyycd1mA/out-2.webp", "https://replicate.delivery/yhqm/iSgRu78EflTybyMzt82WGBC49yKVB9v1vRjdResq5JiZuuaTA/out-3.webp" ], "started_at": "2024-09-08T05:43:17.797289Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/6m5tn6kk15rm60cht0mavajj9m", "cancel": "https://api.replicate.com/v1/predictions/6m5tn6kk15rm60cht0mavajj9m/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 57037 Prompt: TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx "C"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.""x-twitter (18) [!] txt2img mode Using dev model Loaded LoRAs in 7.85s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:25, 1.06it/s] 7%|▋ | 2/28 [00:01<00:21, 1.19it/s] 11%|█ | 3/28 [00:02<00:22, 1.12it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.10it/s] 18%|█▊ | 5/28 [00:04<00:21, 1.08it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.07it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.06it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.06it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.06it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.06it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.05it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.05it/s] 50%|█████ | 14/28 [00:13<00:13, 1.05it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.05it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.05it/s] 61%|██████ | 17/28 [00:15<00:10, 1.05it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.05it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.05it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.05it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.05it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.05it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.05it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.05it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.05it/s] 93%|█████████▎| 26/28 [00:24<00:01, 1.05it/s] 96%|█████████▋| 27/28 [00:25<00:00, 1.05it/s] 100%|██████████| 28/28 [00:26<00:00, 1.05it/s] 100%|██████████| 28/28 [00:26<00:00, 1.06it/s]
Prediction
carlpuvosx/twittex:1cb56f79ID5vr2kyg289rm60cht0n9k03xp4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx "C"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.""x-twitter (18)
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", lora_scale: 1, num_outputs: 4, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \\"C\\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"\\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T05:45:42.628403Z", "created_at": "2024-09-08T05:44:59.714000Z", "data_removed": false, "error": null, "id": "5vr2kyg289rm60cht0n9k03xp4", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 50791\nPrompt: TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 14.93s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:25, 1.06it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.19it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.13it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.10it/s]\n 18%|█▊ | 5/28 [00:04<00:21, 1.08it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.07it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.07it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.06it/s]\n 36%|███▌ | 10/28 [00:09<00:16, 1.06it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.06it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.06it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.06it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.06it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.06it/s]\n 57%|█████▋ | 16/28 [00:14<00:11, 1.06it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.05it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.05it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.05it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.05it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.05it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.05it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.05it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.05it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.05it/s]\n 93%|█████████▎| 26/28 [00:24<00:01, 1.05it/s]\n 96%|█████████▋| 27/28 [00:25<00:00, 1.05it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.05it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.06it/s]", "metrics": { "predict_time": 42.904985593, "total_time": 42.914403 }, "output": [ "https://replicate.delivery/yhqm/ifovHDI8zRW2fUIBYOg0Pr2vVbCBYZavoCfPZ3B6YVfZA7qNB/out-0.webp", "https://replicate.delivery/yhqm/Z8t45i8xCAraGZiUEGl91rnee6EURi59n3LqCwAGxu7GwuaTA/out-1.webp", "https://replicate.delivery/yhqm/iKQSO2QmxXraFZVV3evKy2SMNM4PY1OGMxqDJt1jugYDYXtJA/out-2.webp", "https://replicate.delivery/yhqm/E8Uzc8ufMTVPJSBqyeif4xqPItXN2e7G1YEh5lIQtJTaA7qNB/out-3.webp" ], "started_at": "2024-09-08T05:44:59.723417Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5vr2kyg289rm60cht0n9k03xp4", "cancel": "https://api.replicate.com/v1/predictions/5vr2kyg289rm60cht0n9k03xp4/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 50791 Prompt: TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx "C"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.""x-twitter (18) [!] txt2img mode Using dev model Loaded LoRAs in 14.93s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:25, 1.06it/s] 7%|▋ | 2/28 [00:01<00:21, 1.19it/s] 11%|█ | 3/28 [00:02<00:22, 1.13it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.10it/s] 18%|█▊ | 5/28 [00:04<00:21, 1.08it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.07it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.07it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.06it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.06it/s] 36%|███▌ | 10/28 [00:09<00:16, 1.06it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.06it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.06it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.06it/s] 50%|█████ | 14/28 [00:13<00:13, 1.06it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.06it/s] 57%|█████▋ | 16/28 [00:14<00:11, 1.06it/s] 61%|██████ | 17/28 [00:15<00:10, 1.05it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.05it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.05it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.05it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.05it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.05it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.05it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.05it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.05it/s] 93%|█████████▎| 26/28 [00:24<00:01, 1.05it/s] 96%|█████████▋| 27/28 [00:25<00:00, 1.05it/s] 100%|██████████| 28/28 [00:26<00:00, 1.05it/s] 100%|██████████| 28/28 [00:26<00:00, 1.06it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDrwerb08fx9rm40chvnv8y9vy78StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx "The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights ("melted lights") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face ("My love's beyond the pain"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond ("We're dancing in the flames"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a "final odyssey." As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \\"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\\"melted lights\\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there\'s a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\\"My love\'s beyond the pain\\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\\"We\'re dancing in the flames\\"). The final scene is an intense visual of dodging headlights at night, with the couple\'s emotions growing as they journey through a \\"final odyssey.\\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-10T19:43:40.122132Z", "created_at": "2024-09-10T19:43:07.754000Z", "data_removed": false, "error": null, "id": "rwerb08fx9rm40chvnv8y9vy78", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 56838\nPrompt: TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\n[!] txt2img mode\nUsing dev model\nfree=7189302829056\nDownloading weights\n2024-09-10T19:43:19Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp6ohyzsdc/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\n2024-09-10T19:43:23Z | INFO | [ Complete ] dest=/tmp/tmp6ohyzsdc/weights size=\"172 MB\" total_elapsed=4.061s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\nDownloaded weights in 4.10s\nLoaded LoRAs in 12.50s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.85it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.34it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.10it/s]\n 14%|█▍ | 4/28 [00:00<00:06, 4.00it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.95it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.91it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.89it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.88it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.87it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.86it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.85it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.85it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.85it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.85it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.85it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.85it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.85it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.85it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.85it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.85it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.85it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.85it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.85it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.85it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.85it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.88it/s]", "metrics": { "predict_time": 20.268089259, "total_time": 32.368132 }, "output": [ "https://replicate.delivery/yhqm/kvkuG24l7fzYLiFG7HyunJIwz9dMFRfgIqgBfpuJujCXbK3mA/out-0.webp" ], "started_at": "2024-09-10T19:43:19.854042Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rwerb08fx9rm40chvnv8y9vy78", "cancel": "https://api.replicate.com/v1/predictions/rwerb08fx9rm40chvnv8y9vy78/cancel" }, "version": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e" }
Generated inUsing seed: 56838 Prompt: TOKx-twitterxxx "The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights ("melted lights") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face ("My love's beyond the pain"). In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bond ("We're dancing in the flames"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a "final odyssey." As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky." [!] txt2img mode Using dev model free=7189302829056 Downloading weights 2024-09-10T19:43:19Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp6ohyzsdc/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar 2024-09-10T19:43:23Z | INFO | [ Complete ] dest=/tmp/tmp6ohyzsdc/weights size="172 MB" total_elapsed=4.061s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar Downloaded weights in 4.10s Loaded LoRAs in 12.50s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.85it/s] 7%|▋ | 2/28 [00:00<00:05, 4.34it/s] 11%|█ | 3/28 [00:00<00:06, 4.10it/s] 14%|█▍ | 4/28 [00:00<00:06, 4.00it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.95it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.91it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.89it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.88it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.87it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.86it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.85it/s] 50%|█████ | 14/28 [00:03<00:03, 3.85it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.85it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.85it/s] 61%|██████ | 17/28 [00:04<00:02, 3.85it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.85it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.85it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.85it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.85it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.85it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.85it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.85it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.85it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.85it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.85it/s] 100%|██████████| 28/28 [00:07<00:00, 3.85it/s] 100%|██████████| 28/28 [00:07<00:00, 3.88it/s]
Prediction
carlpuvosx/twittex:1cb56f79IDs3de371jj9rm20chvnwrhh10dgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx "The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights ("melted lights") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face ("My love's beyond the pain").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) ("We're dancing in the flames"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a "final odyssey." As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."x-twitter (12)x-twitter (30)
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)", lora_scale: 1, num_outputs: 1, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \\"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\\"melted lights\\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there\'s a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\\"My love\'s beyond the pain\\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\\"We\'re dancing in the flames\\"). The final scene is an intense visual of dodging headlights at night, with the couple\'s emotions growing as they journey through a \\"final odyssey.\\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"x-twitter (12)x-twitter (30)", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-10T19:47:01.421342Z", "created_at": "2024-09-10T19:46:33.234000Z", "data_removed": false, "error": null, "id": "s3de371jj9rm20chvnwrhh10dg", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 41710\nPrompt: TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)\n[!] txt2img mode\nUsing dev model\nfree=7301895958528\nDownloading weights\n2024-09-10T19:46:40Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpsimmuhdd/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\n2024-09-10T19:46:45Z | INFO | [ Complete ] dest=/tmp/tmpsimmuhdd/weights size=\"172 MB\" total_elapsed=4.260s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\nDownloaded weights in 4.29s\nLoaded LoRAs in 12.85s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.84it/s]\n 7%|▋ | 2/28 [00:00<00:05, 4.33it/s]\n 11%|█ | 3/28 [00:00<00:06, 4.10it/s]\n 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s]\n 18%|█▊ | 5/28 [00:01<00:05, 3.94it/s]\n 21%|██▏ | 6/28 [00:01<00:05, 3.91it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s]\n 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s]\n 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s]\n 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s]\n 46%|████▋ | 13/28 [00:03<00:03, 3.85it/s]\n 50%|█████ | 14/28 [00:03<00:03, 3.84it/s]\n 54%|█████▎ | 15/28 [00:03<00:03, 3.84it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s]\n 61%|██████ | 17/28 [00:04<00:02, 3.84it/s]\n 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s]\n 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s]\n 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s]\n 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s]\n 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s]\n 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s]\n 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s]\n 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.84it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.87it/s]", "metrics": { "predict_time": 20.636744821, "total_time": 28.187342 }, "output": [ "https://replicate.delivery/yhqm/4gJufp3b81yWek1HePdyFmSUa4CVhr5wQzzOeyRMTpHVDVuNB/out-0.webp" ], "started_at": "2024-09-10T19:46:40.784597Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/s3de371jj9rm20chvnwrhh10dg", "cancel": "https://api.replicate.com/v1/predictions/s3de371jj9rm20chvnwrhh10dg/cancel" }, "version": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e" }
Generated inUsing seed: 41710 Prompt: TOKx-twitterxxx "The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights ("melted lights") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face ("My love's beyond the pain").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) ("We're dancing in the flames"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a "final odyssey." As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."x-twitter (12)x-twitter (30) [!] txt2img mode Using dev model free=7301895958528 Downloading weights 2024-09-10T19:46:40Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpsimmuhdd/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar 2024-09-10T19:46:45Z | INFO | [ Complete ] dest=/tmp/tmpsimmuhdd/weights size="172 MB" total_elapsed=4.260s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar Downloaded weights in 4.29s Loaded LoRAs in 12.85s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.84it/s] 7%|▋ | 2/28 [00:00<00:05, 4.33it/s] 11%|█ | 3/28 [00:00<00:06, 4.10it/s] 14%|█▍ | 4/28 [00:00<00:06, 3.99it/s] 18%|█▊ | 5/28 [00:01<00:05, 3.94it/s] 21%|██▏ | 6/28 [00:01<00:05, 3.91it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.88it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.87it/s] 32%|███▏ | 9/28 [00:02<00:04, 3.86it/s] 36%|███▌ | 10/28 [00:02<00:04, 3.86it/s] 39%|███▉ | 11/28 [00:02<00:04, 3.85it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.85it/s] 46%|████▋ | 13/28 [00:03<00:03, 3.85it/s] 50%|█████ | 14/28 [00:03<00:03, 3.84it/s] 54%|█████▎ | 15/28 [00:03<00:03, 3.84it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.84it/s] 61%|██████ | 17/28 [00:04<00:02, 3.84it/s] 64%|██████▍ | 18/28 [00:04<00:02, 3.84it/s] 68%|██████▊ | 19/28 [00:04<00:02, 3.84it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.84it/s] 75%|███████▌ | 21/28 [00:05<00:01, 3.84it/s] 79%|███████▊ | 22/28 [00:05<00:01, 3.84it/s] 82%|████████▏ | 23/28 [00:05<00:01, 3.84it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.84it/s] 89%|████████▉ | 25/28 [00:06<00:00, 3.84it/s] 93%|█████████▎| 26/28 [00:06<00:00, 3.84it/s] 96%|█████████▋| 27/28 [00:06<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.84it/s] 100%|██████████| 28/28 [00:07<00:00, 3.87it/s]
Prediction
carlpuvosx/twittex:1cb56f79ID5tmx3jym1hrm60chvnwtsq0j40StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx "The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights ("melted lights") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face ("My love's beyond the pain").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) ("We're dancing in the flames"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a "final odyssey." As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."x-twitter (12)x-twitter (30)
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 2:3
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)", lora_scale: 1, num_outputs: 4, aspect_ratio: "2:3", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \\"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\\"melted lights\\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there\'s a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\\"My love\'s beyond the pain\\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\\"We\'re dancing in the flames\\"). The final scene is an intense visual of dodging headlights at night, with the couple\'s emotions growing as they journey through a \\"final odyssey.\\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"x-twitter (12)x-twitter (30)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-10T19:48:10.999649Z", "created_at": "2024-09-10T19:47:14.572000Z", "data_removed": false, "error": null, "id": "5tmx3jym1hrm60chvnwtsq0j40", "input": { "model": "dev", "prompt": "TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "2:3", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 15077\nPrompt: TOKx-twitterxxx \"The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights (\"melted lights\") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face (\"My love's beyond the pain\").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) (\"We're dancing in the flames\"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a \"final odyssey.\" As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"x-twitter (12)x-twitter (30)\n[!] txt2img mode\nUsing dev model\nfree=8114911531008\nDownloading weights\n2024-09-10T19:47:32Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpy0vq5cl2/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\n2024-09-10T19:47:34Z | INFO | [ Complete ] dest=/tmp/tmpy0vq5cl2/weights size=\"172 MB\" total_elapsed=1.525s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar\nDownloaded weights in 1.55s\nLoaded LoRAs in 9.74s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:25, 1.05it/s]\n 7%|▋ | 2/28 [00:01<00:22, 1.18it/s]\n 11%|█ | 3/28 [00:02<00:22, 1.11it/s]\n 14%|█▍ | 4/28 [00:03<00:22, 1.08it/s]\n 18%|█▊ | 5/28 [00:04<00:21, 1.07it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.06it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.05it/s]\n 29%|██▊ | 8/28 [00:07<00:19, 1.05it/s]\n 32%|███▏ | 9/28 [00:08<00:18, 1.05it/s]\n 36%|███▌ | 10/28 [00:09<00:17, 1.04it/s]\n 39%|███▉ | 11/28 [00:10<00:16, 1.04it/s]\n 43%|████▎ | 12/28 [00:11<00:15, 1.04it/s]\n 46%|████▋ | 13/28 [00:12<00:14, 1.04it/s]\n 50%|█████ | 14/28 [00:13<00:13, 1.04it/s]\n 54%|█████▎ | 15/28 [00:14<00:12, 1.04it/s]\n 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s]\n 61%|██████ | 17/28 [00:16<00:10, 1.04it/s]\n 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s]\n 68%|██████▊ | 19/28 [00:18<00:08, 1.04it/s]\n 71%|███████▏ | 20/28 [00:19<00:07, 1.04it/s]\n 75%|███████▌ | 21/28 [00:20<00:06, 1.04it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.04it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s]\n 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s]\n 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.04it/s]\n100%|██████████| 28/28 [00:26<00:00, 1.05it/s]", "metrics": { "predict_time": 38.160863047, "total_time": 56.427649 }, "output": [ "https://replicate.delivery/yhqm/c0dnsuxg7fSvcSpecKl2pXCgQnmtzwEYHN4ex5OWi290jK3mA/out-0.webp", "https://replicate.delivery/yhqm/5bi3Fu9swgJWMFVi6YeKPD83aWvcetEvHr9EJXIfAFw0jK3mA/out-1.webp", "https://replicate.delivery/yhqm/wbHPf1H9RXzZYKDahGEoVfgRcnwzQ978o94VEVTYG9n6RlbTA/out-2.webp", "https://replicate.delivery/yhqm/GVDCnYvI2fVxTSavbOQ2tMnrIhMksNnmXgdlxooj1CJ9oytJA/out-3.webp" ], "started_at": "2024-09-10T19:47:32.838786Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5tmx3jym1hrm60chvnwtsq0j40", "cancel": "https://api.replicate.com/v1/predictions/5tmx3jym1hrm60chvnwtsq0j40/cancel" }, "version": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e" }
Generated inUsing seed: 15077 Prompt: TOKx-twitterxxx "The video begins with a high-speed drive at twilight, where two characters are racing home on an open road. The cityscape is fading into the distance, with blurred, glowing streetlights ("melted lights") illuminating the road. The camera moves fluidly, keeping pace with the car as it speeds through. As the car switches lanes, tension builds, and there's a brief, intense moment where the characters almost crash, symbolizing their chaotic journey. Despite the danger, their faces show determination, and their love radiates beyond the danger they face ("My love's beyond the pain").x-twitter (24) In a slow-motion sequence, the car misses the brake, and suddenly, fiery flames engulf the road, symbolizing both destruction and passion. The couple remains calm, even as everything around them is burning, dancing amidst the chaos, representing their indestructible bondx-twitter (27) ("We're dancing in the flames"). The final scene is an intense visual of dodging headlights at night, with the couple's emotions growing as they journey through a "final odyssey." As the flames grow larger, the camera zooms in on their serene expressions, emphasizing the beauty in the chaos, fading into the fire as the video ends. Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky."x-twitter (12)x-twitter (30) [!] txt2img mode Using dev model free=8114911531008 Downloading weights 2024-09-10T19:47:32Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpy0vq5cl2/weights url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar 2024-09-10T19:47:34Z | INFO | [ Complete ] dest=/tmp/tmpy0vq5cl2/weights size="172 MB" total_elapsed=1.525s url=https://replicate.delivery/yhqm/Q83XLoAj8LLvFpW9cfaPiNeLoYGHsMYN9Hws2JMfjge3yeWbC/trained_model.tar Downloaded weights in 1.55s Loaded LoRAs in 9.74s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:25, 1.05it/s] 7%|▋ | 2/28 [00:01<00:22, 1.18it/s] 11%|█ | 3/28 [00:02<00:22, 1.11it/s] 14%|█▍ | 4/28 [00:03<00:22, 1.08it/s] 18%|█▊ | 5/28 [00:04<00:21, 1.07it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.06it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.05it/s] 29%|██▊ | 8/28 [00:07<00:19, 1.05it/s] 32%|███▏ | 9/28 [00:08<00:18, 1.05it/s] 36%|███▌ | 10/28 [00:09<00:17, 1.04it/s] 39%|███▉ | 11/28 [00:10<00:16, 1.04it/s] 43%|████▎ | 12/28 [00:11<00:15, 1.04it/s] 46%|████▋ | 13/28 [00:12<00:14, 1.04it/s] 50%|█████ | 14/28 [00:13<00:13, 1.04it/s] 54%|█████▎ | 15/28 [00:14<00:12, 1.04it/s] 57%|█████▋ | 16/28 [00:15<00:11, 1.04it/s] 61%|██████ | 17/28 [00:16<00:10, 1.04it/s] 64%|██████▍ | 18/28 [00:17<00:09, 1.04it/s] 68%|██████▊ | 19/28 [00:18<00:08, 1.04it/s] 71%|███████▏ | 20/28 [00:19<00:07, 1.04it/s] 75%|███████▌ | 21/28 [00:20<00:06, 1.04it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.04it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.04it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.04it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.04it/s] 93%|█████████▎| 26/28 [00:24<00:01, 1.04it/s] 96%|█████████▋| 27/28 [00:25<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.04it/s] 100%|██████████| 28/28 [00:26<00:00, 1.05it/s]
Prediction
carlpuvosx/twittex:1cb56f79ID0b5swjxxrsrm40cht0pby6nthcStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx "C"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.""x-twitter (18)
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 9:21
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:21", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", { input: { model: "dev", prompt: "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", lora_scale: 1, num_outputs: 4, aspect_ratio: "9:21", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run carlpuvosx/twittex using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "carlpuvosx/twittex:1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", input={ "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:21", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run carlpuvosx/twittex 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": "1cb56f79296da4c9167f745e61cd4601b9ec0e5019a406c9469080b67abe909e", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \\"C\\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\\"\\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:21", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-09-08T05:48:34.642685Z", "created_at": "2024-09-08T05:47:58.790000Z", "data_removed": false, "error": null, "id": "0b5swjxxrsrm40cht0pby6nthc", "input": { "model": "dev", "prompt": "TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:21", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 4210\nPrompt: TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx \"C\"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.\"\"x-twitter (18)\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 8.42s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:24, 1.08it/s]\n 7%|▋ | 2/28 [00:01<00:21, 1.22it/s]\n 11%|█ | 3/28 [00:02<00:21, 1.15it/s]\n 14%|█▍ | 4/28 [00:03<00:21, 1.12it/s]\n 18%|█▊ | 5/28 [00:04<00:20, 1.11it/s]\n 21%|██▏ | 6/28 [00:05<00:20, 1.10it/s]\n 25%|██▌ | 7/28 [00:06<00:19, 1.09it/s]\n 29%|██▊ | 8/28 [00:07<00:18, 1.08it/s]\n 32%|███▏ | 9/28 [00:08<00:17, 1.08it/s]\n 36%|███▌ | 10/28 [00:09<00:16, 1.08it/s]\n 39%|███▉ | 11/28 [00:10<00:15, 1.08it/s]\n 43%|████▎ | 12/28 [00:10<00:14, 1.08it/s]\n 46%|████▋ | 13/28 [00:11<00:13, 1.08it/s]\n 50%|█████ | 14/28 [00:12<00:13, 1.08it/s]\n 54%|█████▎ | 15/28 [00:13<00:12, 1.08it/s]\n 57%|█████▋ | 16/28 [00:14<00:11, 1.08it/s]\n 61%|██████ | 17/28 [00:15<00:10, 1.08it/s]\n 64%|██████▍ | 18/28 [00:16<00:09, 1.07it/s]\n 68%|██████▊ | 19/28 [00:17<00:08, 1.07it/s]\n 71%|███████▏ | 20/28 [00:18<00:07, 1.08it/s]\n 75%|███████▌ | 21/28 [00:19<00:06, 1.07it/s]\n 79%|███████▊ | 22/28 [00:20<00:05, 1.07it/s]\n 82%|████████▏ | 23/28 [00:21<00:04, 1.07it/s]\n 86%|████████▌ | 24/28 [00:22<00:03, 1.07it/s]\n 89%|████████▉ | 25/28 [00:23<00:02, 1.07it/s]\n 93%|█████████▎| 26/28 [00:23<00:01, 1.07it/s]\n 96%|█████████▋| 27/28 [00:24<00:00, 1.08it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.08it/s]\n100%|██████████| 28/28 [00:25<00:00, 1.08it/s]", "metrics": { "predict_time": 35.84341991, "total_time": 35.852685 }, "output": [ "https://replicate.delivery/yhqm/z51Xinefk8mKaETYG8u9AtceLtA1L4dIVrqgd54uKoHlld1mA/out-0.webp", "https://replicate.delivery/yhqm/FtWUkzhN7fWTa6Z1lK4kPTn8XouNAye8VyDLt6WejJRkld1mA/out-1.webp", "https://replicate.delivery/yhqm/aHOheKmIemojx0Rp4y65yWAfP0XhHEHwyqX7jE1jobblld1mA/out-2.webp", "https://replicate.delivery/yhqm/o7f9psjTQcymQKeLRM85pej74sSgMEP7gJQWJJYu8q4lld1mA/out-3.webp" ], "started_at": "2024-09-08T05:47:58.799265Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/0b5swjxxrsrm40cht0pby6nthc", "cancel": "https://api.replicate.com/v1/predictions/0b5swjxxrsrm40cht0pby6nthc/cancel" }, "version": "c124ac7a2b3995308203da766d45cbc782c66fd109b3ddc8aaebcf69b6c25275" }
Generated inUsing seed: 4210 Prompt: TOKx-twitterxxx x-twitter (1)TOKx-twitterxxx "C"Create a futuristic cityscape on Mars, with sleek, metallic buildings rising from the red Martian soil, bathed in the warm glow of the setting sun. In the sky, a massive exoplanet resembling Earth hovers, its blue and green surface shining against the cosmic background. The city is filled with advanced technology, glowing streets, and hovering vehicles. Prominently in the sky, a massive glowing X (the X-Twitter logo) floats above the city, casting a subtle blue glow on the structures below. The scene is hyperrealistic, capturing the textures of the Martian surface, the futuristic architecture, and the ethereal presence of Earth in the distant sky.""x-twitter (18) [!] txt2img mode Using dev model Loaded LoRAs in 8.42s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:24, 1.08it/s] 7%|▋ | 2/28 [00:01<00:21, 1.22it/s] 11%|█ | 3/28 [00:02<00:21, 1.15it/s] 14%|█▍ | 4/28 [00:03<00:21, 1.12it/s] 18%|█▊ | 5/28 [00:04<00:20, 1.11it/s] 21%|██▏ | 6/28 [00:05<00:20, 1.10it/s] 25%|██▌ | 7/28 [00:06<00:19, 1.09it/s] 29%|██▊ | 8/28 [00:07<00:18, 1.08it/s] 32%|███▏ | 9/28 [00:08<00:17, 1.08it/s] 36%|███▌ | 10/28 [00:09<00:16, 1.08it/s] 39%|███▉ | 11/28 [00:10<00:15, 1.08it/s] 43%|████▎ | 12/28 [00:10<00:14, 1.08it/s] 46%|████▋ | 13/28 [00:11<00:13, 1.08it/s] 50%|█████ | 14/28 [00:12<00:13, 1.08it/s] 54%|█████▎ | 15/28 [00:13<00:12, 1.08it/s] 57%|█████▋ | 16/28 [00:14<00:11, 1.08it/s] 61%|██████ | 17/28 [00:15<00:10, 1.08it/s] 64%|██████▍ | 18/28 [00:16<00:09, 1.07it/s] 68%|██████▊ | 19/28 [00:17<00:08, 1.07it/s] 71%|███████▏ | 20/28 [00:18<00:07, 1.08it/s] 75%|███████▌ | 21/28 [00:19<00:06, 1.07it/s] 79%|███████▊ | 22/28 [00:20<00:05, 1.07it/s] 82%|████████▏ | 23/28 [00:21<00:04, 1.07it/s] 86%|████████▌ | 24/28 [00:22<00:03, 1.07it/s] 89%|████████▉ | 25/28 [00:23<00:02, 1.07it/s] 93%|█████████▎| 26/28 [00:23<00:01, 1.07it/s] 96%|█████████▋| 27/28 [00:24<00:00, 1.08it/s] 100%|██████████| 28/28 [00:25<00:00, 1.08it/s] 100%|██████████| 28/28 [00:25<00:00, 1.08it/s]
Want to make some of these yourself?
Run this model