feat: post variants, transforms, image generation, AI ideas, channel edit page with image style settings

This commit is contained in:
Alexey Pavlov
2026-05-31 17:32:39 +03:00
parent 4970ab5616
commit e2b64baf2e
7 changed files with 686 additions and 28 deletions
+4
View File
@@ -37,4 +37,8 @@ export const engine = {
// Generation
generate: (userId, data) => call('/api/generate/', { userId, method: 'POST', body: data }),
getJob: (userId, id) => call(`/api/generate/${id}`, { userId }),
transformPost: (userId, data) => call('/api/generate/transform', { userId, method: 'POST', body: data }),
generatePostImage: (userId, data) => call('/api/generate/post-image', { userId, method: 'POST', body: data }),
topicsIdeas: (userId, data) => call('/api/generate/topics-ideas', { userId, method: 'POST', body: data }),
getImageStyles: () => call('/api/generate/image-styles'),
};