이미지 / MODEL API
Z-Image-Turbo
출력 $10 / 100만 토큰
OVERVIEW
모델 정보
Z-Image is a powerful and highly efficient image generation model family with 6B parameters. Currently there are four variants: 🚀 Z-Image-Turbo – A distilled version of Z-Image that matches or exceeds leading competitors with only 8 NFEs (Number of Function Evaluations). It offers ⚡️sub-second inference latency⚡️ on enterprise-grade H800 GPUs and fits comfortably within 16G VRAM consumer devices. It excels in photorealistic image generation, bilingual text rendering (English & Chinese), and robust instruction adherence. 🎨 Z-Image – The foundation model behind Z-Image-Turbo. Z-Image focuses on high-quality generation, rich aesthetics, strong diversity, and controllability, well-suited for creative generation, fine-tuning, and downstream development. It supports a wide range of artistic styles, effective negative prompting, and high diversity across identities, poses, compositions, and layouts. 🧱 Z-Image-Omni-Base – The versatile foundation model capable of both generation and editing tasks. By releasing this checkpoint, we aim to unlock the full potential for community-driven fine-tuning and custom development, providing the most "raw" and diverse starting point for the open-source community. ✍️ Z-Image-Edit – A variant fine-tuned on Z-Image specifically for image editing tasks. It supports creative image-to-image generation with impressive instruction-following capabilities, allowing for precise edits based on natural language prompts.
모델 사양
- 모델 유형
- 이미지
- 입력 모달리티
- text
- 출력 모달리티
- image
MODEL PRICING
모델 API 요금
이미지
100만 토큰당 USD| 모델 | 입력 | 출력 |
|---|---|---|
| Z-Image-Turbo | — | $10 |
플랫폼의 공개 요금을 5분 간격으로 갱신합니다. — 표시는 해당 요금이 제공되지 않음을 뜻하며 무료를 의미하지 않습니다. 최종 이용 요금은 콘솔에서 확인하세요.
BUILT FOR YOUR STACK
API 호출 예제
먼저 접속 설정을 펼쳐 준비 명령을 실행하세요. 그다음 Python 또는 cURL 예제를 저장해 실행할 수 있습니다.
접속 설정 및 준비 명령실제 API 주소, 모델 ID 및 환경 변수
- API 주소
https://api.ecohash.com/v1- API 모델 ID
z-image-turbo
YOUR_API_KEY를 콘솔에서 발급받은 전체 추론 API 키로 바꿔 주세요. 준비 명령은 macOS/Linux 또는 호환 셸에서 실행하세요. cURL의 JSON 예제는 Python 표준 라이브러리로 요청 본문을 생성합니다.
python -m pip install openai
export GIGACOMMA_API_BASE_URL='https://api.ecohash.com/v1'
export GIGACOMMA_MODEL_ID='z-image-turbo'
export GIGACOMMA_API_KEY="YOUR_API_KEY"GIGACOMMA_API_KEY는 환경 변수 이름입니다. 값은 콘솔에서 발급받은 추론 API 키이며 OpenAI의 API 키를 사용하지 않습니다. API 키 발급
import osfrom openai import OpenAIMODEL_ID = os.environ["GIGACOMMA_MODEL_ID"]client = OpenAI( base_url=os.environ["GIGACOMMA_API_BASE_URL"], api_key=os.environ["GIGACOMMA_API_KEY"],)import base64response = client.images.generate( model=MODEL_ID, prompt="A sunset over mountains", response_format="b64_json",)with open("image.png", "wb") as output: output.write(base64.b64decode(response.data[0].b64_json))