Call the intelligent Ai drawing to generate pictures online and generate videos, API instructions, etc.

Four intelligent software for text generation and video

1. Lumen5: It is an automated video production tool that can use its powerful AI technology to automatically analyze text and provide appropriate images, video clips and music to generate impressive videos. It is suitable for creating social media ads, marketing videos and brand stories, etc. . Users only need to enter text and select relevant image/video resources to quickly generate videos.
2. Adobe Premiere Rush: This is a powerful and easy-to-use video editing software. It can mix your text, picture and audio and make a high-quality video.
3. Animoto: An automated video production tool that combines images, video clips, and music to create beautiful, polished videos. With easy-to-use features and highly customizable options, users can easily create unique videos for their business. Animoto also provides an extensive gallery and music library, users can quickly find suitable images and music to add color to their videos, and can convert your text, photos and music into dynamic videos. You only need to upload your material, and then use the preset templates in the tool or customize the design
4, Canva is a very popular graphic design tool, it not only provides a large number of templates and design elements, but also a smart picture The library can automatically match pictures to help users quickly complete the design. Canva also has a video editor that can combine text, images, and music to produce beautiful video content.

Several tools that support text to generate pictures

LingoJam: LingoJam is a free online AI text conversion tool that can convert input text into pictures, letters, etc. It supports a variety of conversion methods, such as converting text to Unicode, Zalgo, Wingdings, etc.

Convertio: Convertio is a powerful online file converter that supports converting text to pictures and other formats. Users only need to upload the files to be converted, and Convertio will automatically recognize and convert them into the required format.

Canva: Canva is a professional graphic design tool. In addition to supporting the design of various graphics, posters, etc., Canva can also convert text into pictures. Users can choose different styles of text, background, icons, etc. to customize the design, and finally generate pictures that meet their needs.

Midjourney is an online booking software for travel activities and experiences. It offers various types of activities, including adventure, culture, nature, food and shopping, etc. Users can choose the activities they are interested in and book online. The software also provides customer reviews and rankings to help users choose the best experience
Piktochart - used to create visualizations, including charts, graphs and maps, etc.
Adobe Spark - allows users to design social media images, posters and promotional items etc.
Snappa - For making impressive social media and blog images.

The following is a code example for generating images using the Midjourney API:

python import requests 
import json 
# API请求地址 
url = "https://api.midjourney.com/v1/image" 
# API访问密钥 
api_key = "YOUR_API_KEY_HERE" 
# 请求参数 
params = {
    
     
	"key": api_key, 
	"text": "Hello, Midjourney!", 
	"font_size": 36, 
	"font_family": "Arial", 
	"image_width": 800, 
	"image_height": 600,
	"color": "#ffffff", 
	"background_color": "#000000" 
} 
# 发送API请求 
response = requests.post(url, data=json.dumps(params)) 
# 解析API响应 
result = json.loads(response.text) 
# 获取生成的图片URL 
if result["code"] == 0: 
	image_url = result["data"]["image_url"] 
	print("Image URL:", image_url) 
else: 
	print("Failed to generate image. Error message:", result["message"]) 

The content that needs to be replaced in the above sample code is:

  • YOUR_API_KEY_HERE: Replace with your Midjourney API access key. You can also adjust other request parameters as needed, including:
- `text`:要写入图片中的文本内容。
-  `font_size`:字体大小,默认为24。 
- `font_family`:字体名称,默认为"Arial"。
- `image_width`:图片宽度,默认为640。 
-  `image_height`:图片高度,默认为480。 
-  `color`:文本颜色,默认为"#000000"。 
-  `background_color`:背景颜色,默认为"#ffffff"。 

- If you need more complex image generation, you can refer to other functions and parameters provided in the Midjourney API documentation.

Dimensions that describe aspects of an image:

  1. Size: The width and height of the picture, common sizes are 640x480, 800x600, 1024x768, etc.
  2. Color depth: The color depth of the picture is usually 8-bit, 16-bit, 24-bit or 32-bit, and the color depth of different bits will affect the color quality and file size of the picture.
  3. Image format: Common image formats include JPEG, PNG, GIF, BMP, etc. Different formats support different features, such as transparency, animation effects, lossless compression, etc.
  4. Picture content: This includes the main content of the picture, text, frame and other elements, which need to be designed and described according to the requirements.

All functions and parameters provided by Smart Drawing in the Midjourney API documentation:
1. Text-to-picture conversion: Convert text content to picture format.
parameter:

 - text:要转换成图片的文本内容。 
 - font_name:文字的字体名称。 
 - font_size:文字的字体大小。 
 - font_color:文字的颜色。 
 - bg_color:图片的背景颜色。 
 - width:图片的宽度。
 - height:图片的高度。 
-alignment:文字的对齐方式(left, center, right)。
-line_spacing:行距。 
  • Filter effects: Add filter effects to pictures, such as black and white, nostalgic, etc.
 - 参数:
 - image_url:需要添加滤镜效果的图片URL。 
 - filter_type:滤镜效果类型(black_and_white, sepia, vintage等
  • Image synthesis: combine multiple images into one image.
- 参数: 
- images:需要合成的图片URL数组。 
- bg_color:背景颜色。 - width:合成图片的宽度。 
- height:合成图片的高度。 
- position_list:每张图片的位置坐标。 
  • Image processing: crop, resize, rotate, etc. the image.
- 参数: 
- image_url:需要处理的图片URL。
- crop:裁剪图片的参数(left, top, width, height)。 
- resize:调整图片尺寸的参数(width, height)。
- rotate:旋转图片的角度。 

Provide line drafts to Midjourney to generate a complete version of the drawing

Follow the steps below:

  1. Find the line art you want to offer and make sure it's high quality. You can create your line art using pen and paper, digital drawing software, or a scanner.
  2. Import the line art into Midjourney's drawing tool. Before getting started, you need to sign up for a Midjourney account and log in to the Dashboard.
  3. Select "Create a new project" and then select the "Import Image" option.
  4. Upload your line art. Once uploaded, you can adjust the size and position of the line art to suit your needs.
  5. Use Midjourney's drawing tools to create a polished image from your sketches. You can add details and shadows using different tools and colors to make your images more vivid and expressive.
  6. Save and export your finished image. You can save it in PNG or JPG format to share with others or print. Note that converting your line art into a polished image requires some drawing skills and experience. If you are not sure how to use Midjourney's drawing tools, you can try watching Midjourney's online tutorials or seek professional assistance

Midjourney full function scenes

  1. Flight Search API: An API for querying flight information, including parameters such as origin, destination, flight time, and cabin class.
  2. Hotel Search API: API for querying hotel information, including hotel location, check-in time, check-out time, number of rooms and other parameters.
  3. Car Rental Search API: API for querying car rental information, including car rental company, car rental time, car rental location and other parameters.
  4. Activity Search API: An API for querying tourism activity information, including parameters such as the name of the attraction, departure time, and the number of participants.
  5. Airport Autocomplete API: API used to automatically complete the airport name, and return the relevant airport name and code according to the keyword entered.
  6. Hotel Autocomplete API: API used to automatically complete the hotel name, and return the relevant hotel name and address according to the entered keywords.
  7. Car Rental Autocomplete API: API used to automatically complete the name of the car rental company, and return the name and address of the relevant car rental company according to the entered keywords.
  8. Activity Autocomplete API: API used to automatically complete the name of tourism activities, and return the names and addresses of relevant tourism activities according to the input keywords.
  9. Flight Prices API: An API for querying flight prices, and returns corresponding prices based on flight information.
  10. Hotel Prices API: An API for querying hotel prices and returning corresponding prices based on hotel information.
  11. Car Rental Prices API: API for querying car rental prices, and returns corresponding prices based on car rental information.
  12. Activity Prices API: API for querying the price of tourism activities, and returns the corresponding price according to the information of tourism activities.
    The above are all functional scenarios provided in the Midjourney API documentation

Guess you like

Origin blog.csdn.net/Climbman/article/details/129980955