OpenPixels

Z-Image Turbo Performance

Author:Tongyi-MAI
Type:Image
Providers:fal.ai (Unknown - verify with provider), SiliconFlow (Unknown - verify with provider), runware.ai (Unknown - verify with provider), Novita AI (Unknown - verify with provider)
Aliases:z-image

Parameter Playground

Generated image will appear here

Arguments

  • promptRequiredfal, siliconflow, runware, novita
    Type:string
    The prompt to generate an image from.
  • negative_promptOptionalfal, siliconflow, runware, novita
    Type:string
    A prompt of anything to avoid in the image.
  • widthRequiredfal, siliconflow, runware, novita
    Type:number
    The width of the image to generate.
  • heightRequiredfal, siliconflow, runware, novita
    Type:number
    The height of the image to generate.
  • aspect_ratioRequiredfal, siliconflow, runware, novita
    Type:string
    The aspect ratio of the image to generate.
  • resolutionRequiredfal, siliconflow, runware, novita
    Type:string
    The resolution of the image to generate.
  • seedOptionalfal, siliconflow, runware, novita
    Type:number
    The seed to generate the image with.
// npm install openpixels

import { OpenPixels } from "openpixels"

const client = new OpenPixels({
  apiKey: "sk-op-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
})

const result = await client.run({
  model: "z-image-turbo",
  prompt: "A beautiful sunset over a calm ocean",
  negative_prompt: "ugly, low quality",
  width: 1024,
  height: 1024,
  aspect_ratio: "1:1",
  resolution: "720p",
  seed: 42
})