Models / ByteDance
Image

ByteDance Seedream 4.0

Next-generation image creation technology

About model

ByteDance Seedream 4.0 represents the latest advancement in the Seedream family with improved quality and features.

Quickstart guides
  • API usage

    • cURL
    • Python
    • Typescript

    Endpoint:

    ByteDance-Seed/Seedream-4.0

    curl -X POST "https://api.together.xyz/v1/images/generations" \
      -H "Authorization: Bearer $TOGETHER_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "ByteDance-Seed/Seedream-4.0",
        "prompt": "Draw an anime style version of this image.",
        "width": 1024,
        "height": 768,
        "steps": 28,
        "n": 1,
        "response_format": "url",
        "image_url": "https://huggingface.co/datasets/patrickvonplaten/random_img/resolve/main/yosemite.png"
      }'
    
    from together import Together
    
    client = Together()
    
    imageCompletion = client.images.generate(
        model="ByteDance-Seed/Seedream-4.0",
        width=1024,
        height=768,
        steps=28,
        prompt="Draw an anime style version of this image.",
        image_url="https://huggingface.co/datasets/patrickvonplaten/random_img/resolve/main/yosemite.png",
    )
    
    print(imageCompletion.data[0].url)
    
    
    
    import Together from "together-ai";
    
    const together = new Together();
    
    async function main() {
      const response = await together.images.create({
        model: "ByteDance-Seed/Seedream-4.0",
        width: 1024,
        height: 1024,
        steps: 28,
        prompt: "Draw an anime style version of this image.",
        image_url: "https://huggingface.co/datasets/patrickvonplaten/random_img/resolve/main/yosemite.png",
      });
    
      console.log(response.data[0].url);
    }
    
    main();
    
    
  • Model card

    Architecture:
    • Fourth-generation Seedream model
    • Enhanced quality algorithms
    • Improved detail rendering

  • Applications & use cases

    Use Cases:
    • Professional content creation
    • Brand visuals
    • Creative campaigns

Related models
  • Model provider
    ByteDance
  • Type
    Image
  • Main use cases
    Image Generation
  • Deployment
    Serverless
  • Input price

    $0.03 / MP

  • Input modalities
    Text
  • Output modalities
    Image