INNER CODE UNIT · Python

image_to_video_4k

SamurAIGPT/Seedance-2.5-API · seedance_api.py:250

    def image_to_video_4k(self, prompt, image_url, aspect_ratio="16:9", duration=5, seed=None, variant="standard"):
        """Generate an upscaled 4K image-to-video clip."""
        return self.image_to_video(prompt, image_url, aspect_ratio, duration, seed, variant, "4k")

    def intl_image_to_video(self, prompt, image_url, aspect_ratio="16:9", duration=5, seed=None, resolution=None):
        """Generate through the international Seedance 2.5 image-to-video route."""
        return self.image_to_video(prompt, image_url, aspect_ratio, duration, seed, "intl", resolution)

    def spicy_image_to_video(self, prompt, image_url, aspect_ratio="16:9", duration=5, seed=None, resolution=None):
        """Generate through the Spicy Seedance 2.5 image-to-video route."""
        return self.image_to_video(prompt, image_url, aspect_ratio, duration, seed, "spicy", resolution)

    # ------------------------------------------------------------------
    # First & Last Frame
    # ------------------------------------------------------------------
    def first_last_frame(
        self,
        prompt,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…