[GH-ISSUE #229] A mystical white deer in moonlit forest, ethereal glow, magical atmosphere, detailed fur, 4K resolution 1024×768像素 #187

Closed
opened 2026-10-26 21:13:47 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @kafaiyu1221-ship-it on GitHub (Jan 6, 2026).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/229

圖像生成代碼(示例結構)

import requests

生成圖片

def generate_image():
api_key = "your_api_key"
prompt = "A mystical white deer in moonlit forest, ethereal glow"

response = requests.post(
    "https://api.deepseek.com/v1/images/generations",
    headers={"Authorization": f"Bearer {api_key}"},
    json={
        "prompt": prompt,
        "size": "1024x768",
        "n": 1
    }
)
return response.json()

圖片處理(示例)

def process_image(image_path):
# 使用Deepseek圖像處理API
# 調整亮度、對比度、添加濾鏡
pass

Originally created by @kafaiyu1221-ship-it on GitHub (Jan 6, 2026). Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/229 # 圖像生成代碼(示例結構) import requests # 生成圖片 def generate_image(): api_key = "your_api_key" prompt = "A mystical white deer in moonlit forest, ethereal glow" response = requests.post( "https://api.deepseek.com/v1/images/generations", headers={"Authorization": f"Bearer {api_key}"}, json={ "prompt": prompt, "size": "1024x768", "n": 1 } ) return response.json() # 圖片處理(示例) def process_image(image_path): # 使用Deepseek圖像處理API # 調整亮度、對比度、添加濾鏡 pass
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/Janus#187
No description provided.