From 1333597cf61c5d23402e66bdbe1a01883c90e224 Mon Sep 17 00:00:00 2001 From: JambaLand Date: Sat, 3 Jan 2026 08:11:59 -0300 Subject: [PATCH] Create spl Signed-off-by: JambaLand --- spl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 spl diff --git a/spl b/spl new file mode 100644 index 0000000000..18b0844833 --- /dev/null +++ b/spl @@ -0,0 +1,19 @@ +import replicate + +# initialize client with your API token +client = replicate.Client(api_token=r8_GEnGoLSP6PXLA1r9LUhSUOhwJMj28RX0VdTh4) + +# Call the seedream-4 model +output = client.run( + "bytedance/seedream-4:054cd8c6", # Version ID from Replicate + input={ + "prompt": "A surreal painting of a futuristic city at sunset", + "size": "2K", # Options: "1K" | "2K" | "4K" | "custom" + "aspect_ratio": "16:9", + "image_input": [], # Optional reference image URLs + "sequential_image_generation": "disabled", + "max_images": 1 + }, +) + +print(output)