coze部署到slack文档
https://www.coze.com/docs/publish/slack
使用技巧
我添加的插件有这些
DALLE3
DALL3生成图片 + 内容
生成的url应该是这样的域名p16-flow-sign-va.ciciai.com/o
例如:
DALL3生成图片,春意盎然的景象 3
text2Image
Understands significantly more nuance and detail, allowing you to easily translate your ideas into exceptionally accurate images. Use this when you need an image of better quality. Only one image will be generated.
ratiointeger
Generate image ratios, supporting three ratios: 1(1:1 the size is1024*1024), 2(9:16 the size is 1024*1792), 3(16:9 the size is 1792*1024), the default is 1.
promptstringRequired
Description about image.
Leonardo
Leonardo生成图片 + 内容
imageGenerations
Understands significantly more nuance and detail, allowing you to easily translate your ideas into exceptionally accurate images. Please limit the input to within 1000 characters.Only one image can be generated at a time.
widthinteger
The width of the generated image, between 512 and 1024 and must be divisible by 8, the default is 1024.
heightinteger
The height of the generated image, between 512 and 1024 and must be divisible by 8, the default is 768.
promptstringRequired
Image prompt, ensure the prompt is in English, if not translate it into appropriate English." I assure you, I'll help to translate non-English prompts into suitable English form.
model_typeinteger
Model type, currently supports 1 (Leonardo Diffusion XL), 2(DreamShaper V7), the default is 1 (Leonardo Diffusion XL).
Stable Diffusion
Stable Diffusion 生成图片 + 内容
生成的url应该是这样的域名sf-bot-studio-plugin-resource.coze.com
例如:
生成图片,春意盎然的景象 16:9 steps 50 samples 4 style_preset 3d-model
textToImage
Generate a new image from a text prompt
seedinteger
Random noise seed (omit this option or use 0 for a random seed). Default is 0. The range is [0, 4294967295].
widthinteger
Width of the image to generate. For model "Stable Diffusion XL v1.0", only support 1024x1024, 1152x896, 1216x832, 1344x768, 1536x640, 640x1536, 768x1344, 832x1216, 896x1152. For model "Stable Diffusion v1.6", the range is [320,1536], default is 512.
stepsinteger
Number of diffusion steps to run. Default is 30. The range is [10, 50].
heightinteger
Height of the image to generate. For model "Stable Diffusion XL v1.0", only support 1024x1024, 1152x896, 1216x832, 1344x768, 1536x640, 640x1536, 768x1344, 832x1216, 896x1152. For model "Stable Diffusion v1.6", the range is [320,1536], default is 512.
samplesinteger
Number of images to generate. Default is 1. The range is [1,10].
cfg_scalenumber
How strictly the diffusion process adheres to the prompt text (higher values keep your image closer to your prompt). Defualt is 7. The range is [0,35].
model_typeinteger
The model used to generate images, currently supports 1 (Stable Diffusion v1.6), 2 (Stable Diffusion XL v1.0). Default is 1.
text_promptsarrayRequired
An array of text prompts to use for generation. Text must use English, if the query is chinese, please translate it to English.
style_presetstring
Style presets Enum: 3d-model/analog-film/anime/cinematic/comic-book/digital-art/enhance/fantasy-art/isometric/line-art/low-poly/modeling-compound/neon-punk/origami/photographic/pixel-art/tile-texture.
===================
imageToImage
Generate images from a prompt word and image link
urlstringRequired
Accessible links to images.
seedinteger
Random noise seed (omit this option or use 0 for a random seed). Default is 0. The range is [0, 4294967295].
stepsinteger
Number of diffusion steps to run. Default is 30. The range is [10, 50].
samplesinteger
Number of images to generate. Default is 1. The range is [1,10].
cfg_scalenumber
How strictly the diffusion process adheres to the prompt text (higher values keep your image closer to your prompt). Defualt is 7. The range is [0,35].
model_typeinteger
The model used to generate images, currently supports 1 (Stable Diffusion v1.6), 2 (Stable Diffusion XL v1.0). Default is 1.
style_presetstring
Style presets Enum: 3d-model/analog-film/anime/cinematic/comic-book/digital-art/enhance/fantasy-art/isometric/line-art/low-poly/modeling-compound/neon-punk/origami/photographic/pixel-art/tile-texture.
text_promptsarrayRequired
An array of text prompts to use for generation. Text must use English, if the query is chinese, please translate it to English.
image_strengthnumber
How much influence the init_image has on the diffusion process. Values close to 1 will yield images very similar to the init_image while values close to 0 will yield images wildly different than the init_image. Default is 0.35. The range is [0, 1].
Capcut
生成视频 + 内容
例如:
生成视频,写一个童话故事,风格是迪士尼
text_to_video
Generate video by user's English version topic and the generated English content by extending user's topic. After this api return success, remind user aspect ratio is configurable, and text can be extended or shortened.
titlestringRequired
To generate the theme of the video.
contentstringRequired
Text description used to generate video. Essay topic must be single. If the user description language is not English, ask if it can be translated into English, and if you agree, it is automatically translated into English description.
aspect_ratiostring
The aspect ratio for the video, representing the width-to-height ratio of the video frame, for example, 16:9, 9:16, 1:1. If it is not set specifically, use 16:9 by default.
Calculator
Math
Use expression to get the answer, for example: please give me the answer of 2+2*200, which will return 402
exprstringRequired
A string containing the expression to be evaluated, or an array with strings to be evaluated
precisionnumber
Number of significant digits in formatted output. Undefined by default.
Anime Random
生成动漫图片: 漂亮女孩
Get Top News
SearchNews
Search for News information from Google using keywords. Powered by gapier.com
localestring
Google uses this parameter to customize the language in the search location, following the ISO-639 standard. For example, entering `en` will search for English language web pages. The default is `en`.
countrystring
Google uses this parameter to customize the country information in the search location, using a two-letter lowercase country code. For example, entering `us` will prioritize searching web pages in the United States region.The default is `us`.
keywordsstringRequired
Keywords used to search for News on Google
time_limitstring
Use this field to define the time interval for the news. The optional values must be one of ['d', 'w', 'm', 'y'], corresponding to day, week, month, year, with the default being w.
max_resultsinteger
This parameter can be used to specify the number of news articles to be returned. The default value is 10, with a maximum limit of 20.
original_textstring
Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***.
没有评论:
发表评论