Commit Graph

12 Commits

Author SHA1 Message Date
Laisky.Cai
580fec6359 feat: implement image editing request handling and response conversion for Imagen API 2025-03-16 14:21:38 +00:00
Laisky.Cai
fa794e7bd5 feat: update model lists and adjust quota calculation logic
⚠️breaking change warning: for image models, the model ratio represents the quota cost per image
2025-03-16 02:01:44 +00:00
Laisky.Cai
f1db73405e fix: make ImagePrompt optional in the model definition
- Update `ImagePrompt` field to be optional in the replication model.
- Improve data handling by adding `omitempty` tag for flexibility.
2025-01-26 06:26:29 +00:00
Laisky.Cai
feacea0321 feat: support vertex imagen3 2025-01-12 04:18:57 +00:00
Laisky.Cai
dc181dd7fa Merge branch 'upstream/main' 2024-12-22 02:50:40 +00:00
Laisky.Cai
305ce14fe3
feat: support replicate chat models (#1989)
* feat: add Replicate adaptor and integrate into channel and API types

* feat: support llm chat on replicate
2024-12-21 14:41:19 +08:00
Laisky.Cai
7851933cdf test: enhance image editing tests with custom FileHeader and PNG encoding 2024-12-20 02:45:27 +00:00
Laisky.Cai
502cf3315d feat: support llm chat on replicate 2024-12-19 03:14:32 +00:00
Laisky.Cai
79bd053a0a Merge branch 'feature/replicate-remix' 2024-12-16 09:28:53 +00:00
Laisky.Cai
f72c715e4c feat: support image inpainting for flux-fill on replicate 2024-12-16 09:12:24 +00:00
Laisky.Cai
36e99cf6ec fix: update image request handling to always return one image and improve error logging 2024-11-28 09:15:40 +00:00
Laisky.Cai
ae7117beee feat: add Replicate adaptor and integrate into channel and API types 2024-11-28 09:04:02 +00:00