@@ -39,6 +39,24 @@ export const qwenEditParamsSchema: ModelParamsSchema = {
3939 width : { default : 1328 , max : 1536 , min : 512 , step : 1 } ,
4040} ;
4141
42+ export const huanyuanImageParamsSchema : ModelParamsSchema = {
43+ cfg : { default : 7.5 , max : 20 , min : 1 , step : 0.1 } ,
44+ prompt : { default : '' } ,
45+ seed : { default : null } ,
46+ size : {
47+ default : 'square_hd' ,
48+ enum : [
49+ 'square_hd' ,
50+ 'square' ,
51+ 'portrait_4_3' ,
52+ 'portrait_16_9' ,
53+ 'landscape_4_3' ,
54+ 'landscape_16_9' ,
55+ ] ,
56+ } ,
57+ steps : { default : 28 , max : 50 , min : 1 , step : 1 } ,
58+ } ;
59+
4260const falImageModels : AIImageModelCard [ ] = [
4361 {
4462 description :
@@ -84,23 +102,7 @@ const falImageModels: AIImageModelCard[] = [
84102 displayName : 'HunyuanImage 3.0' ,
85103 enabled : true ,
86104 id : 'fal-ai/hunyuan-image/v3' ,
87- parameters : {
88- cfg : { default : 7.5 , max : 20 , min : 1 , step : 0.1 } ,
89- prompt : { default : '' } ,
90- seed : { default : null } ,
91- size : {
92- default : 'square_hd' ,
93- enum : [
94- 'square_hd' ,
95- 'square' ,
96- 'portrait_4_3' ,
97- 'portrait_16_9' ,
98- 'landscape_4_3' ,
99- 'landscape_16_9' ,
100- ] ,
101- } ,
102- steps : { default : 28 , max : 50 , min : 1 , step : 1 } ,
103- } ,
105+ parameters : huanyuanImageParamsSchema ,
104106 pricing : {
105107 units : [ { name : 'imageGeneration' , rate : 0.1 , strategy : 'fixed' , unit : 'megapixel' } ] ,
106108 } ,
@@ -197,7 +199,7 @@ const falImageModels: AIImageModelCard[] = [
197199 id : 'fal-ai/qwen-image-edit' ,
198200 parameters : qwenEditParamsSchema ,
199201 pricing : {
200- units : [ { name : 'imageGeneration' , rate : 0.025 , strategy : 'fixed' , unit : 'image ' } ] ,
202+ units : [ { name : 'imageGeneration' , rate : 0.03 , strategy : 'fixed' , unit : 'megapixel ' } ] ,
201203 } ,
202204 releasedAt : '2025-08-19' ,
203205 type : 'image' ,
0 commit comments