Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
pearsonkyle /360-panorama:5f638558
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run pearsonkyle/360-panorama using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"pearsonkyle/360-panorama:5f638558adec78589e947290cb7083b0730dcfc8e8c9c9db6eebc5261edc09ca",
{
input: {
prompt: "Magical mushroom forest",
output_format: "webp",
workflow_json: "{\n \"4\": {\n \"inputs\": {\n \"ckpt_name\": \"dreamshaperXL_v21TurboDPMSDE.safetensors\"\n },\n \"class_type\": \"CheckpointLoaderSimple\",\n \"_meta\": {\n \"title\": \"Load Checkpoint\"\n }\n },\n \"5\": {\n \"inputs\": {\n \"width\": 2048,\n \"height\": 1024,\n \"batch_size\": 1\n },\n \"class_type\": \"EmptyLatentImage\",\n \"_meta\": {\n \"title\": \"Empty Latent Image\"\n }\n },\n \"6\": {\n \"inputs\": {\n \"text\": \"hidden magical world, equirectangular, 360 panorama\",\n \"clip\": [\n \"10\",\n 1\n ]\n },\n \"class_type\": \"CLIPTextEncode\",\n \"_meta\": {\n \"title\": \"CLIP Text Encode (Prompt)\"\n }\n },\n \"7\": {\n \"inputs\": {\n \"text\": \"boring, text ,signature, watermark, low quality, bad quality, grainy, blurry, long neck, closed eyes\",\n \"clip\": [\n \"10\",\n 1\n ]\n },\n \"class_type\": \"CLIPTextEncode\",\n \"_meta\": {\n \"title\": \"CLIP Text Encode (Prompt)\"\n }\n },\n \"9\": {\n \"inputs\": {\n \"filename_prefix\": \"Image\",\n \"images\": [\n \"15\",\n 0\n ]\n },\n \"class_type\": \"SaveImage\",\n \"_meta\": {\n \"title\": \"Save Image\"\n }\n },\n \"10\": {\n \"inputs\": {\n \"lora_name\": \"360RedmondResized.safetensors\",\n \"strength_model\": 0.75,\n \"strength_clip\": 1,\n \"model\": [\n \"4\",\n 0\n ],\n \"clip\": [\n \"4\",\n 1\n ]\n },\n \"class_type\": \"LoraLoader\",\n \"_meta\": {\n \"title\": \"Load LoRA\"\n }\n },\n \"11\": {\n \"inputs\": {\n \"seed\": 761207467289106,\n \"steps\": 9,\n \"cfg\": 2.8000000000000003,\n \"sampler_name\": \"dpmpp_sde_gpu\",\n \"scheduler\": \"karras\",\n \"denoise\": 1,\n \"tileX\": 1,\n \"tileY\": 0,\n \"model\": [\n \"10\",\n 0\n ],\n \"positive\": [\n \"6\",\n 0\n ],\n \"negative\": [\n \"7\",\n 0\n ],\n \"latent_image\": [\n \"5\",\n 0\n ]\n },\n \"class_type\": \"xy_Tiling_KSampler\",\n \"_meta\": {\n \"title\": \"Jags-XY_tile sampler\"\n }\n },\n \"15\": {\n \"inputs\": {\n \"samples\": [\n \"11\",\n 0\n ],\n \"vae\": [\n \"22\",\n 0\n ]\n },\n \"class_type\": \"CircularVAEDecode\",\n \"_meta\": {\n \"title\": \"Jags-CircularVAEDecode\"\n }\n },\n \"22\": {\n \"inputs\": {\n \"vae_name\": \"sdxl.vae.safetensors\"\n },\n \"class_type\": \"VAELoader\",\n \"_meta\": {\n \"title\": \"Load VAE\"\n }\n }\n}",
output_quality: 80,
force_reset_cache: false
}
}
);
// To access the file URL:
console.log(output[0].url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run pearsonkyle/360-panorama using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"pearsonkyle/360-panorama:5f638558adec78589e947290cb7083b0730dcfc8e8c9c9db6eebc5261edc09ca",
input={
"prompt": "Magical mushroom forest",
"output_format": "webp",
"workflow_json": "{\n \"4\": {\n \"inputs\": {\n \"ckpt_name\": \"dreamshaperXL_v21TurboDPMSDE.safetensors\"\n },\n \"class_type\": \"CheckpointLoaderSimple\",\n \"_meta\": {\n \"title\": \"Load Checkpoint\"\n }\n },\n \"5\": {\n \"inputs\": {\n \"width\": 2048,\n \"height\": 1024,\n \"batch_size\": 1\n },\n \"class_type\": \"EmptyLatentImage\",\n \"_meta\": {\n \"title\": \"Empty Latent Image\"\n }\n },\n \"6\": {\n \"inputs\": {\n \"text\": \"hidden magical world, equirectangular, 360 panorama\",\n \"clip\": [\n \"10\",\n 1\n ]\n },\n \"class_type\": \"CLIPTextEncode\",\n \"_meta\": {\n \"title\": \"CLIP Text Encode (Prompt)\"\n }\n },\n \"7\": {\n \"inputs\": {\n \"text\": \"boring, text ,signature, watermark, low quality, bad quality, grainy, blurry, long neck, closed eyes\",\n \"clip\": [\n \"10\",\n 1\n ]\n },\n \"class_type\": \"CLIPTextEncode\",\n \"_meta\": {\n \"title\": \"CLIP Text Encode (Prompt)\"\n }\n },\n \"9\": {\n \"inputs\": {\n \"filename_prefix\": \"Image\",\n \"images\": [\n \"15\",\n 0\n ]\n },\n \"class_type\": \"SaveImage\",\n \"_meta\": {\n \"title\": \"Save Image\"\n }\n },\n \"10\": {\n \"inputs\": {\n \"lora_name\": \"360RedmondResized.safetensors\",\n \"strength_model\": 0.75,\n \"strength_clip\": 1,\n \"model\": [\n \"4\",\n 0\n ],\n \"clip\": [\n \"4\",\n 1\n ]\n },\n \"class_type\": \"LoraLoader\",\n \"_meta\": {\n \"title\": \"Load LoRA\"\n }\n },\n \"11\": {\n \"inputs\": {\n \"seed\": 761207467289106,\n \"steps\": 9,\n \"cfg\": 2.8000000000000003,\n \"sampler_name\": \"dpmpp_sde_gpu\",\n \"scheduler\": \"karras\",\n \"denoise\": 1,\n \"tileX\": 1,\n \"tileY\": 0,\n \"model\": [\n \"10\",\n 0\n ],\n \"positive\": [\n \"6\",\n 0\n ],\n \"negative\": [\n \"7\",\n 0\n ],\n \"latent_image\": [\n \"5\",\n 0\n ]\n },\n \"class_type\": \"xy_Tiling_KSampler\",\n \"_meta\": {\n \"title\": \"Jags-XY_tile sampler\"\n }\n },\n \"15\": {\n \"inputs\": {\n \"samples\": [\n \"11\",\n 0\n ],\n \"vae\": [\n \"22\",\n 0\n ]\n },\n \"class_type\": \"CircularVAEDecode\",\n \"_meta\": {\n \"title\": \"Jags-CircularVAEDecode\"\n }\n },\n \"22\": {\n \"inputs\": {\n \"vae_name\": \"sdxl.vae.safetensors\"\n },\n \"class_type\": \"VAELoader\",\n \"_meta\": {\n \"title\": \"Load VAE\"\n }\n }\n}",
"output_quality": 80,
"force_reset_cache": False
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run pearsonkyle/360-panorama 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": "pearsonkyle/360-panorama:5f638558adec78589e947290cb7083b0730dcfc8e8c9c9db6eebc5261edc09ca",
"input": {
"prompt": "Magical mushroom forest",
"output_format": "webp",
"workflow_json": "{\\n \\"4\\": {\\n \\"inputs\\": {\\n \\"ckpt_name\\": \\"dreamshaperXL_v21TurboDPMSDE.safetensors\\"\\n },\\n \\"class_type\\": \\"CheckpointLoaderSimple\\",\\n \\"_meta\\": {\\n \\"title\\": \\"Load Checkpoint\\"\\n }\\n },\\n \\"5\\": {\\n \\"inputs\\": {\\n \\"width\\": 2048,\\n \\"height\\": 1024,\\n \\"batch_size\\": 1\\n },\\n \\"class_type\\": \\"EmptyLatentImage\\",\\n \\"_meta\\": {\\n \\"title\\": \\"Empty Latent Image\\"\\n }\\n },\\n \\"6\\": {\\n \\"inputs\\": {\\n \\"text\\": \\"hidden magical world, equirectangular, 360 panorama\\",\\n \\"clip\\": [\\n \\"10\\",\\n 1\\n ]\\n },\\n \\"class_type\\": \\"CLIPTextEncode\\",\\n \\"_meta\\": {\\n \\"title\\": \\"CLIP Text Encode (Prompt)\\"\\n }\\n },\\n \\"7\\": {\\n \\"inputs\\": {\\n \\"text\\": \\"boring, text ,signature, watermark, low quality, bad quality, grainy, blurry, long neck, closed eyes\\",\\n \\"clip\\": [\\n \\"10\\",\\n 1\\n ]\\n },\\n \\"class_type\\": \\"CLIPTextEncode\\",\\n \\"_meta\\": {\\n \\"title\\": \\"CLIP Text Encode (Prompt)\\"\\n }\\n },\\n \\"9\\": {\\n \\"inputs\\": {\\n \\"filename_prefix\\": \\"Image\\",\\n \\"images\\": [\\n \\"15\\",\\n 0\\n ]\\n },\\n \\"class_type\\": \\"SaveImage\\",\\n \\"_meta\\": {\\n \\"title\\": \\"Save Image\\"\\n }\\n },\\n \\"10\\": {\\n \\"inputs\\": {\\n \\"lora_name\\": \\"360RedmondResized.safetensors\\",\\n \\"strength_model\\": 0.75,\\n \\"strength_clip\\": 1,\\n \\"model\\": [\\n \\"4\\",\\n 0\\n ],\\n \\"clip\\": [\\n \\"4\\",\\n 1\\n ]\\n },\\n \\"class_type\\": \\"LoraLoader\\",\\n \\"_meta\\": {\\n \\"title\\": \\"Load LoRA\\"\\n }\\n },\\n \\"11\\": {\\n \\"inputs\\": {\\n \\"seed\\": 761207467289106,\\n \\"steps\\": 9,\\n \\"cfg\\": 2.8000000000000003,\\n \\"sampler_name\\": \\"dpmpp_sde_gpu\\",\\n \\"scheduler\\": \\"karras\\",\\n \\"denoise\\": 1,\\n \\"tileX\\": 1,\\n \\"tileY\\": 0,\\n \\"model\\": [\\n \\"10\\",\\n 0\\n ],\\n \\"positive\\": [\\n \\"6\\",\\n 0\\n ],\\n \\"negative\\": [\\n \\"7\\",\\n 0\\n ],\\n \\"latent_image\\": [\\n \\"5\\",\\n 0\\n ]\\n },\\n \\"class_type\\": \\"xy_Tiling_KSampler\\",\\n \\"_meta\\": {\\n \\"title\\": \\"Jags-XY_tile sampler\\"\\n }\\n },\\n \\"15\\": {\\n \\"inputs\\": {\\n \\"samples\\": [\\n \\"11\\",\\n 0\\n ],\\n \\"vae\\": [\\n \\"22\\",\\n 0\\n ]\\n },\\n \\"class_type\\": \\"CircularVAEDecode\\",\\n \\"_meta\\": {\\n \\"title\\": \\"Jags-CircularVAEDecode\\"\\n }\\n },\\n \\"22\\": {\\n \\"inputs\\": {\\n \\"vae_name\\": \\"sdxl.vae.safetensors\\"\\n },\\n \\"class_type\\": \\"VAELoader\\",\\n \\"_meta\\": {\\n \\"title\\": \\"Load VAE\\"\\n }\\n }\\n}",
"output_quality": 80,
"force_reset_cache": false
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
No output yet! Press "Submit" to start a prediction.