How to UseAbout
🙏Ads will be displayed.Please help support the AI usage fees🙏

How It Works

Summary

The AI processes the uploaded photo and the provided prompt, generating a response based on that data. The system operates using a structure known as RAG (Retrieval Augmented Generation), where the prompt includes data such as information about cardboard boxes. If text is set in the 'Instructions for the AI' field, it will be added to the end of the prompt. The AI uses Google Gemini.

Gemini Model Used

▶️gemini-1.5-flash(Vertex AI Gemini API)

Platform

▶️Google Firebase

Framework / Programming Language

▶️Next.js 14 / typescript

Prompt

Output the response string in Markdown format. Please estimate the size and weight of the item in the photo. Then, indicate bold which cardboard box is optimal for shipping. To determine the optimal box, first list the boxes that have dimensions larger than the item's estimated length, width, and height. Only list boxes that have a dimension larger than the largest estimated dimension of the item. Among these boxes, select the one with the smallest sum of length, width, and height. Present the selected box and provide a Google search link for that box. After that, explain step by step why this box was chosen. The available cardboard box sizes in Japan are as follows:
FedEx Shipping Supplies Information
FedEx Tube • Inside dimensions: 38" x 6" x 6" x 6" (96.52 cm x 15.24 cm x 15.24 cm x 15.24 cm).• Maximum weight allowed: 20 lbs. (9.07 kg).• Weight when empty: 16 oz• Triangular box for plans, posters, fabric rolls, charts and blueprints.• The minimum billable weight for this FedEx packaging will be 4kg per package.
FedEx Box - Small• Self-assembly box designed to hold a single reel of magnetic tape and small documents.• Inside dimensions: 12.25" x 10.9" x 1.5" (31.12 cm x 27.69 cm x 3.81 cm).• Maximum weight allowed: 20 lbs. (9.07 kg).• Weight when empty: 4.5 oz.• For catalogs, file folders, videotapes and CDs.• The minimum billable weight for this FedEx packaging will be 1kg per package.
FedEx Box - Medium• Inside dimensions: 13.25" x 11.5" x 2.38" (33.66 cm x 29.21 cm x 6.03 cm).• Maximum weight allowed: 20 lbs. (9.07 kg).• Weight when empty: 6.5 oz.• For binders, books and heavy documents.• The minimum billable weight for this FedEx packaging will be 1kg per package.
FedEx Box - Large• Inside dimensions: 17.88" x 12.38" x 3" (45.40 cm x 31.43 cm x 7.62 cm).• Maximum weight allowed: 30 lbs. (13.61 kg).• Weight when empty: 14.5 oz.• For side-by-side paper stacks, small parts and reports.• The minimum billable weight for this FedEx packaging will be 1kg per package.
FedEx 10kg Box• Inside dimensions: 15.81" x 12.94" x 10.19" (40.16 cm x 32.86 cm x 25.88 cm).• Maximum weight allowed: 22 lbs. (10 kg); to qualify for the flat rate, weight cannot exceed 10 kg.• Weight when empty: 31 oz.• Double-walled box for added strength.• Available at FedEx World Service Center® locations.
FedEx 25kg Box• Inside dimensions: 21.56" x 16.56" x 13.19" (54.8 cm x 42.1 cm x 33.5 cm).• Maximum weight allowed: 55 lbs. (25 kg); to qualify for the flat rate, weight cannot exceed 25 kg.• Weight when empty: 57 oz.• Double-walled box for added strength.• Available at FedEx World Service Center® locations.
Here is information on Yu-Pack packaging materials: https://www.post.japanpost.jp/service/you_pack/package.html
Yu-Pack Box (Extra Large) (380 yen) 345mm (H) × 445mm (W) × 340mm (D)
Yu-Pack Box (Large) (220 yen) 315mm (H) × 395mm (W) × 225mm (D)
Yu-Pack Box (Medium) (140 yen) 255mm (H) × 315mm (W) × 175mm (D)
Yu-Pack Box (Small) (100 yen) 175mm (H) × 225mm (W) × 145mm (D)
Yu-Pack Bag (Large) (230 yen) 160mm (H) × 320mm (W) × 440mm (D)
Yu-Pack Bag (Small) (100 yen) 80mm (H) × 260mm (W) × 450mm (D)
Cushion Envelope (Large) 100 yen 360mm (H) × 280mm (W)
Cushion Envelope (Small) 81 yen 275mm (H) × 210mm (W)
Triangular Box (130 yen) 120mm (H) × 645mm (W) × 105mm (D)
Yu-Packet (Internal Dimensions) Length: 33.2cm × Width: 22.5cm × Thickness: 2.3cm 65 yen
Yu-Packet Plus Exclusive Box 24cm × 17cm × 7cm 65 yen
Kuroneko Yamato Packaging Materials: https://market.kuronekoyamato.co.jp/market/MarketTopAction_doInit.action
Kuroneko Box 6 (External Dimensions: H: 20cm W: 27cm D: 13cm Internal Dimensions: H: 19.4cm W: 26.4cm D: 11.8cm) 140 yen
Kuroneko Box 8 (External Dimensions: H: 27cm W: 38cm D: 15cm Internal Dimensions: H: 26.4cm W: 37.4cm D: 13.8cm) 160 yen
Kuroneko Box 10 (External Dimensions: H: 27cm W: 38cm D: 35cm Internal Dimensions: H: 26cm W: 37cm D: 33cm) 220 yen
Kuroneko Box 12 (External Dimensions: H: 38cm W: 53cm D: 29cm Internal Dimensions: H: 37cm W: 52cm D: 27cm) 260 yen
Kuroneko Box 14 (External Dimensions: H: 40cm W: 60cm D: 40cm Internal Dimensions: H: 39cm W: 59cm D: 38cm) 370 yen
Exclusive Box for Takkyubin Compact (Internal Dimensions: 247mm × 193mm × 47mm)
Exclusive Slim Box for Takkyubin Compact (Internal Dimensions: 332mm × 240mm)