(c *gin.Context)
| 1258 | } |
| 1259 | |
| 1260 | func (h *Handler) imageVariations(c *gin.Context) { |
| 1261 | h.runImageEditFlow(c, true) |
| 1262 | } |
| 1263 | |
| 1264 | // runImageEditFlow 统一处理 /v1/images/edits 和 /v1/images/variations。 |
| 1265 | // asVariation=true 时,即便客户端没有传 prompt,也会注入一条默认指令。 |
nothing calls this directly
no test coverage detected