other.ts 576 B

123456789101112131415161718192021
  1. import { GET,POST } from "@/utils/http";
  2. // import type { UserRequest } from "@/apis/types/user";
  3. // 模板相关
  4. export async function getCompanyTemplatesApi(){
  5. return GET('/api/ai_image/auto_photo/get_company_templates')
  6. }
  7. // 获取模特列表
  8. export async function getShoesModelTemplateApi(params: { status: number }){
  9. return GET('/api/ai_image/main/shoes_model_template', params)
  10. }
  11. // AI 扩写相机场景提示词
  12. export async function expandCameraWordsApi(params: { words: string }){
  13. return POST('/api/ai_image/main/expand_camera_words', params)
  14. }