宽高
This commit is contained in:
		@@ -121,8 +121,8 @@ div(class="mt-[60px] grid grid-cols-1 lg:grid-cols-4 xl:grid-cols-5 text-white b
 | 
			
		||||
          div(class="flex flex-row flex-wrap gap-x-2 gap-y-2")
 | 
			
		||||
            div(class="flex flex-row flex-wrap" v-for="item in sizes" :key="item.id")
 | 
			
		||||
              button.border-2.rounded-md.px-2(
 | 
			
		||||
                :class="{'border-purple-600': item.width==new_task.w && new_task.h==item.height}"
 | 
			
		||||
                @click="new_task.w=item.width;new_task.h=item.height"
 | 
			
		||||
                :class="{'border-purple-600': item.width==new_task.width && new_task.height==item.height}"
 | 
			
		||||
                @click="new_task.width=item.width;new_task.height=item.height"
 | 
			
		||||
              ) {{ item.width }} x {{ item.height }}
 | 
			
		||||
          div(class="text-sm grey-100 mt-1")
 | 
			
		||||
            p Buy a <a target="_blank" style="color:rgb(118 173 255)" href="/pricing">paid plan</a> for any width or height up to 1536px
 | 
			
		||||
@@ -219,8 +219,8 @@ const new_task = ref({
 | 
			
		||||
  prompt: 'A tabby cat, with a fluffy tail, basking in the sun, bright, warm, very cute!',  // 渲染提示词
 | 
			
		||||
  exclude: 'puppets, death, decay, mess',    // 排除词汇
 | 
			
		||||
  number: 1,           // 生成图片数量
 | 
			
		||||
  w: 512,              // 图片宽度
 | 
			
		||||
  h: 512,              // 图片高度
 | 
			
		||||
  width: 512,          // 图片宽度
 | 
			
		||||
  height: 512,         // 图片高度
 | 
			
		||||
  seed: 0,             // 随机种子
 | 
			
		||||
  sampler: 'pndm',     // 扩散采样器
 | 
			
		||||
  prompt_guidance: 6,  // 提示词权重
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user