Janus-Pro-7B
DeepSeek's open-weight 7B unified multimodal model utilizing decoupled visual encoding pathways to support both visual question answering and stable autoregressive text-to-image synthesis within one checkpoint.
What you can do
- Unified VQA and concept image drafting
- Prompt-faithful icon and avatar ideation
- Visual chart and meme comprehension
Input & output
- Input
- Text prompts for image synthesis, or input images paired with visual question-answering instructions.
- Output
- 384×384 RGB synthesized images for generation tasks, or natural language answers for visual understanding tasks.
Try a prompt like this
A cute miniature terracotta astronaut reading a glowing holographic map inside a terrarium filled with bioluminescent moss and tiny mushrooms, studio macro photography, soft rim light.
Things to know
MIT licensed; requires ~16–20GB VRAM in BF16 on a single GPU; native autoregressive image generation resolution is capped at 384×384 pixels, so external upscaling is needed for high-res print assets.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/images/generations- Model repo ID
deepseek-ai/Janus-Pro-7B
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
result = client.images.generate(
model="deepseek-ai/Janus-Pro-7B",
prompt="A cute miniature terracotta astronaut reading a glowing holographic map inside a terrarium filled with bioluminescent moss and tiny mushrooms, studio macro photography, soft rim light.",
size="1024x1024",
)
print(result.data[0].url)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide