返回资讯中心
外部精选
软件工程
#开发者实时流

Canva Craft image generation model from Canva

Same endpoint and flow as before, with the model pinned:

Hacker News 最新groodt2026/10/22 · 23 天前1 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Same endpoint and flow as before, with the model pinned:

POST /v1/image-generations { "prompt": "A clean infographic poster titled 'Ocean Plastics 2026' with three stat callouts and a wave illustration", "model": "craft_v1_2k", "aspect_ratio": "portrait_2_3", "idempotency_key": "9c1f2d3e-5b6a-4c7d-8e9f-0a1b2c3d4e5f" }

Then poll GET /v1/image-generations/{jobId} until status is success. The download URL is valid for 24 hours, or set asset_upload.type to upload to save the image to the user’s uploads.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →