RawFrame

Seedream 5.0 Pro

ByteDance's Seedream 5.0 Pro through BytePlus ModelArk. Text to image and editing of one input image at 1K, 1.5K or 2K. Aspect ratio is described in the prompt.

Preview

Parameters and limits may change before this model is generally available.

  • Model id: bytedance/seedream-5.0-pro
  • Type: Image, from BytePlus ModelArk
  • Modes: Text to image, Image edit
  • Prompt: up to 4,000 characters
  • Canceling: Only while queued. Generations finish within seconds once submitted.

Parameters

Set these in params. Anything left out takes the default, which is what the price estimate assumes.

ParameterAccepted valuesDefault
resolution2K, 1.5K, 1K2K
num_outputs1 only1
output_formatpng, jpeg, webpprovider's

References

Pass media in references, each with a role and an upload_id or HTTPS url (Uploads). When mode is left out it is inferred from the roles.

RoleUsed asAt most
source_imageImage to edit1

Pricing

Billed per image delivered, varying by resolution. The full price list for your account is on the dashboard's billing page and in pricing from GET /v1/models/bytedance%2Fseedream-5.0-pro. Each request reserves its maximum price and is charged for what was produced (Pricing and credits).

Examples

Text to image

import { RawFrame } from "@rawframe/sdk";

const rf = new RawFrame();

const generation = await rf.generations.createAndWait({
  model: "bytedance/seedream-5.0-pro",
  prompt: "A poster for a night market, hand-painted lanterns, rich colors, space for a title",
  params: { resolution: "2K" },
});
console.log(generation.outputs?.[0]?.url);

Faster, smaller

import { RawFrame } from "@rawframe/sdk";

const rf = new RawFrame();

const generation = await rf.generations.createAndWait({
  model: "bytedance/seedream-5.0-pro",
  prompt: "A ceramic bowl of ripe peaches on a linen cloth, soft window light",
  params: { resolution: "1K" },
});
console.log(generation.outputs?.[0]?.url);

On this page